diff options
| author | Magnus Hagander <magnus@hagander.net> | 2008-03-10 12:55:13 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2008-03-10 12:55:13 +0000 |
| commit | 52a8d4f8f7e286482886861175312c1434b1d4fd (patch) | |
| tree | 64031c50a3e1c1ee0e66f5f3ec4197021873150c /src/include/tcop | |
| parent | 23c356ccecaf10665777c05fac414466b7d5793d (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/include/tcop')
| -rw-r--r-- | src/include/tcop/tcopprot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 251d9ec92df..ef87e1ee052 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.92 2008/01/01 19:45:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.93 2008/03/10 12:55:13 mha Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -42,7 +42,7 @@ typedef enum LOGSTMT_ALL /* log all statements */ } LogStmtLevel; -extern LogStmtLevel log_statement; +extern int log_statement; extern List *pg_parse_and_rewrite(const char *query_string, Oid *paramTypes, int numParams); |
