aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-03-10 12:55:13 +0000
committerMagnus Hagander <magnus@hagander.net>2008-03-10 12:55:13 +0000
commit52a8d4f8f7e286482886861175312c1434b1d4fd (patch)
tree64031c50a3e1c1ee0e66f5f3ec4197021873150c /src/backend/tcop/postgres.c
parent23c356ccecaf10665777c05fac414466b7d5793d (diff)
downloadpostgresql-52a8d4f8f7e286482886861175312c1434b1d4fd.tar.gz
postgresql-52a8d4f8f7e286482886861175312c1434b1d4fd.zip
Implement enum type for guc parameters, and convert a couple of existing
variables to it. More need to be converted, but I wanted to get this in before it conflicts with too much... Other than just centralising the text-to-int conversion for parameters, this allows the pg_settings view to contain a list of available options and allows an error hint to show what values are allowed.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index c95695b7f9a..9fc0389d96b 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.543 2008/02/17 04:21:05 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.544 2008/03/10 12:55:13 mha Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -85,7 +85,7 @@ CommandDest whereToSendOutput = DestDebug;
/* flag for logging end of session */
bool Log_disconnections = false;
-LogStmtLevel log_statement = LOGSTMT_NONE;
+int log_statement = LOGSTMT_NONE;
/* GUC variable for maximum stack depth (measured in kilobytes) */
int max_stack_depth = 100;