*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.217 2001/03/26 17:00:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.218 2001/04/14 19:11:45 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
extern int optind;
extern char *optarg;
+char *debug_query_string; /* used by pgmonitor */
+
/*
* for ps display
*/
List *parsetree_list,
*parsetree_item;
+ debug_query_string = query_string; /* used by pgmonitor */
+
/*
* Start up a transaction command. All queries generated by the
* query_string will be in this same command block, *unless* we find a
*/
if (xact_started)
finish_xact_command();
+
+ debug_query_string = NULL; /* used by pgmonitor */
}
/*
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.217 $ $Date: 2001/03/26 17:00:54 $\n");
+ puts("$Revision: 1.218 $ $Date: 2001/04/14 19:11:45 $\n");
}
/*
if (sigsetjmp(Warn_restart, 1) != 0)
{
-
/*
* NOTE: if you are tempted to add more code in this if-block,
* consider the probability that it should be in
QueryCancelPending = false;
InterruptHoldoffCount = 1;
CritSectionCount = 0; /* should be unnecessary, but... */
+ debug_query_string = NULL; /* used by pgmonitor */
/*
* Make sure we are in a valid memory context during recovery.