diff options
author | Magnus Hagander | 2008-03-10 12:55:13 +0000 |
---|---|---|
committer | Magnus Hagander | 2008-03-10 12:55:13 +0000 |
commit | d88190b94e2b9e5795d8d7dc6cb0eaca8fea9f2f (patch) | |
tree | 355d493f26d5935b0eecd0771dd8cdf2ec16dd25 /src/backend/tcop/postgres.c | |
parent | 9751e8bf6381569427131c25332aa9f10f178792 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index f00b588d30..3bfee4fcb8 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -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; |