diff options
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/tcopprot.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index b2520b210e6..046fe3e810e 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.63 2004/03/24 22:40:29 tgl Exp $ + * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.64 2004/04/07 05:05:50 momjian Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -35,6 +35,19 @@ extern DLLIMPORT const char *debug_query_string; extern char *rendezvous_name; extern int max_stack_depth; +/* GUC-configurable parameters */ + +typedef enum +{ + /* Reverse order so GUC USERLIMIT is easier */ + LOGSTMT_ALL, /* log all statements */ + LOGSTMT_DDL, /* log data definition statements */ + LOGSTMT_MOD, /* log modification statements, plus DDL */ + LOGSTMT_NONE /* log no statements */ +} LogStmtLevel; + +extern LogStmtLevel log_statement; + #ifndef BOOTSTRAP_INCLUDE extern List *pg_parse_and_rewrite(const char *query_string, |
