Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6a8babc2
Commit
6a8babc2
authored
Sep 02, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove documentation that says debug_query_string is only used by
pgmonitor. Now log_min_error_statement uses it.
parent
ed7f7800
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+8
-8
No files found.
src/backend/tcop/postgres.c
View file @
6a8babc2
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.2
89 2002/09/02 02:47:04
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.2
90 2002/09/02 05:25:37
momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -69,7 +69,7 @@
extern
int
optind
;
extern
char
*
optarg
;
char
*
debug_query_string
;
/*
used by pgmonitor
*/
char
*
debug_query_string
;
/*
for pgmonitor and log_min_error_statement
*/
/* Note: whereToSendOutput is initialized for the bootstrap/standalone case */
CommandDest
whereToSendOutput
=
Debug
;
...
...
@@ -564,7 +564,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */
struct
timeval
start_t
,
stop_t
;
bool
save_Log_duration
=
Log_duration
;
debug_query_string
=
query_string
->
data
;
/* used by pgmonitor */
debug_query_string
=
query_string
->
data
;
/*
* We use save_Log_duration so setting Log_duration to true doesn't
...
...
@@ -872,7 +872,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */
(
long
int
)
stop_t
.
tv_usec
-
start_t
.
tv_usec
);
}
debug_query_string
=
NULL
;
/* used by pgmonitor */
debug_query_string
=
NULL
;
}
/*
...
...
@@ -1686,7 +1686,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if
(
!
IsUnderPostmaster
)
{
puts
(
"
\n
POSTGRES backend interactive interface "
);
puts
(
"$Revision: 1.2
89 $ $Date: 2002/09/02 02:47:04
$
\n
"
);
puts
(
"$Revision: 1.2
90 $ $Date: 2002/09/02 05:25:37
$
\n
"
);
}
/*
...
...
@@ -1733,7 +1733,7 @@ PostgresMain(int argc, char *argv[], const char *username)
QueryCancelPending
=
false
;
InterruptHoldoffCount
=
1
;
CritSectionCount
=
0
;
/* should be unnecessary, but... */
debug_query_string
=
NULL
;
/* used by pgmonitor */
debug_query_string
=
NULL
;
/*
* Make sure we are in a valid memory context during recovery.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment