|
10 | 10 | * Written by Peter Eisentraut <peter_e@gmx.net>. |
11 | 11 | * |
12 | 12 | * IDENTIFICATION |
13 | | - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.445 2008/04/0411:47:19 mha Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.446 2008/04/0417:25:23 tgl Exp $ |
14 | 14 | * |
15 | 15 | *-------------------------------------------------------------------- |
16 | 16 | */ |
@@ -7111,31 +7111,6 @@ assign_canonical_path(const char *newval, bool doit, GucSource source) |
7111 | 7111 | returnnewval; |
7112 | 7112 | } |
7113 | 7113 |
|
7114 | | -staticconstchar* |
7115 | | -assign_backslash_quote(constchar*newval,booldoit,GucSourcesource) |
7116 | | -{ |
7117 | | -BackslashQuoteTypebq; |
7118 | | -boolbqbool; |
7119 | | - |
7120 | | -/* |
7121 | | - * Although only "on", "off", and "safe_encoding" are documented, we use |
7122 | | - * parse_bool so we can accept all the likely variants of "on" and "off". |
7123 | | - */ |
7124 | | -if (pg_strcasecmp(newval,"safe_encoding")==0) |
7125 | | -bq=BACKSLASH_QUOTE_SAFE_ENCODING; |
7126 | | -elseif (parse_bool(newval,&bqbool)) |
7127 | | -{ |
7128 | | -bq=bqbool ?BACKSLASH_QUOTE_ON :BACKSLASH_QUOTE_OFF; |
7129 | | -} |
7130 | | -else |
7131 | | -returnNULL;/* reject */ |
7132 | | - |
7133 | | -if (doit) |
7134 | | -backslash_quote=bq; |
7135 | | - |
7136 | | -returnnewval; |
7137 | | -} |
7138 | | - |
7139 | 7114 | staticconstchar* |
7140 | 7115 | assign_timezone_abbreviations(constchar*newval,booldoit,GucSourcesource) |
7141 | 7116 | { |
|