Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a8babc

Browse files
committed
Remove documentation that says debug_query_string is only used by
pgmonitor.Now log_min_error_statement uses it.
1 parented7f780 commit6a8babc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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 $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -69,7 +69,7 @@
6969
externintoptind;
7070
externchar*optarg;
7171

72-
char*debug_query_string;/*used bypgmonitor */
72+
char*debug_query_string;/*forpgmonitorand log_min_error_statement*/
7373

7474
/* Note: whereToSendOutput is initialized for the bootstrap/standalone case */
7575
CommandDestwhereToSendOutput=Debug;
@@ -563,8 +563,8 @@ pg_exec_query_string(StringInfo query_string,/* string to execute */
563563
structtimezonetz;
564564
structtimevalstart_t,stop_t;
565565
boolsave_Log_duration=Log_duration;
566-
567-
debug_query_string=query_string->data;/* used by pgmonitor */
566+
567+
debug_query_string=query_string->data;
568568

569569
/*
570570
*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 */
871871
(longint)stop_t.tv_sec-start_t.tv_sec,
872872
(longint)stop_t.tv_usec-start_t.tv_usec);
873873
}
874-
875-
debug_query_string=NULL;/* used by pgmonitor */
874+
875+
debug_query_string=NULL;
876876
}
877877

878878
/*
@@ -1686,7 +1686,7 @@ PostgresMain(int argc, char *argv[], const char *username)
16861686
if (!IsUnderPostmaster)
16871687
{
16881688
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");
16901690
}
16911691

16921692
/*
@@ -1733,7 +1733,7 @@ PostgresMain(int argc, char *argv[], const char *username)
17331733
QueryCancelPending= false;
17341734
InterruptHoldoffCount=1;
17351735
CritSectionCount=0;/* should be unnecessary, but... */
1736-
debug_query_string=NULL;/* used by pgmonitor */
1736+
debug_query_string=NULL;
17371737

17381738
/*
17391739
* Make sure we are in a valid memory context during recovery.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp