|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.289 2002/09/0202:47:04 momjian Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.290 2002/09/0205:25:37 momjian Exp $ |
12 | 12 | * |
13 | 13 | * NOTES |
14 | 14 | * this is the "main" module of the postgres backend and |
|
69 | 69 | externintoptind; |
70 | 70 | externchar*optarg; |
71 | 71 |
|
72 | | -char*debug_query_string;/*used bypgmonitor */ |
| 72 | +char*debug_query_string;/*forpgmonitorand log_min_error_statement*/ |
73 | 73 |
|
74 | 74 | /* Note: whereToSendOutput is initialized for the bootstrap/standalone case */ |
75 | 75 | CommandDestwhereToSendOutput=Debug; |
@@ -563,8 +563,8 @@ pg_exec_query_string(StringInfo query_string,/* string to execute */ |
563 | 563 | structtimezonetz; |
564 | 564 | structtimevalstart_t,stop_t; |
565 | 565 | boolsave_Log_duration=Log_duration; |
566 | | -
|
567 | | -debug_query_string=query_string->data;/* used by pgmonitor */ |
| 566 | + |
| 567 | +debug_query_string=query_string->data; |
568 | 568 |
|
569 | 569 | /* |
570 | 570 | *We use save_Log_duration so setting Log_duration to true doesn't |
@@ -871,8 +871,8 @@ pg_exec_query_string(StringInfo query_string,/* string to execute */ |
871 | 871 | (longint)stop_t.tv_sec-start_t.tv_sec, |
872 | 872 | (longint)stop_t.tv_usec-start_t.tv_usec); |
873 | 873 | } |
874 | | -
|
875 | | -debug_query_string=NULL;/* used by pgmonitor */ |
| 874 | + |
| 875 | +debug_query_string=NULL; |
876 | 876 | } |
877 | 877 |
|
878 | 878 | /* |
@@ -1686,7 +1686,7 @@ PostgresMain(int argc, char *argv[], const char *username) |
1686 | 1686 | if (!IsUnderPostmaster) |
1687 | 1687 | { |
1688 | 1688 | puts("\nPOSTGRES backend interactive interface "); |
1689 | | -puts("$Revision: 1.289 $ $Date: 2002/09/0202:47:04 $\n"); |
| 1689 | +puts("$Revision: 1.290 $ $Date: 2002/09/0205:25:37 $\n"); |
1690 | 1690 | } |
1691 | 1691 |
|
1692 | 1692 | /* |
@@ -1733,7 +1733,7 @@ PostgresMain(int argc, char *argv[], const char *username) |
1733 | 1733 | QueryCancelPending= false; |
1734 | 1734 | InterruptHoldoffCount=1; |
1735 | 1735 | CritSectionCount=0;/* should be unnecessary, but... */ |
1736 | | -debug_query_string=NULL;/* used by pgmonitor */ |
| 1736 | +debug_query_string=NULL; |
1737 | 1737 |
|
1738 | 1738 | /* |
1739 | 1739 | * Make sure we are in a valid memory context during recovery. |
|