From 1128f5565906c32f0ace2feae3352f68d28e5850 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 21 Sep 2005 20:33:34 +0000 Subject: 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. --- doc/src/sgml/config.sgml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/src') 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 @@ Run-time Configuration @@ -45,7 +45,8 @@ search_path = '$user, public' value is optional. Whitespace is insignificant and blank lines are ignored. Hash marks (#) 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. -- cgit v1.2.3