diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-21 20:33:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-21 20:33:34 +0000 |
commit | 1128f5565906c32f0ace2feae3352f68d28e5850 (patch) | |
tree | c138e9f3ab0381029dc668295d530f5a20b31ed3 /doc/src | |
parent | dbf952860e798133e2edc22a6caaf31f53b3e096 (diff) | |
download | postgresql-1128f5565906c32f0ace2feae3352f68d28e5850.tar.gz postgresql-1128f5565906c32f0ace2feae3352f68d28e5850.zip |
Fix postgresql.conf lexer to accept doubled single quotes in literal
strings. This is consistent with SQL conventions, and since Bruce
already changed initdb in a way that assumed it worked like this, seems
we'd better make it work like this.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 52852ee6c24..6e9cc4817db 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.18 2005/09/19 17:21:46 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.19 2005/09/21 20:33:33 tgl Exp $ --> <chapter Id="runtime-config"> <title>Run-time Configuration</title> @@ -45,7 +45,8 @@ search_path = '$user, public' value is optional. Whitespace is insignificant and blank lines are ignored. Hash marks (<literal>#</literal>) introduce comments anywhere. Parameter values that are not simple identifiers or - numbers must be single-quoted. + numbers must be single-quoted. To embed a single quote in a parameter + value, write either two quotes (preferred) or backslash-quote. </para> <para> |