Update comment about allowing GUCs to change scanning.
authorBruce Momjian <[email protected]>
Wed, 22 Jun 2016 00:23:20 +0000 (20:23 -0400)
committerBruce Momjian <[email protected]>
Wed, 22 Jun 2016 00:23:31 +0000 (20:23 -0400)
Reported-by: David G. Johnston
Discussion: CAKFQuwZZvnxwSq9tNtvL+uyuDKGgV91zR_agtPxQHRWMWQRP8g@mail.gmail.com

src/backend/parser/scan.l

index 4d905e6b94fab347659eb4df9287a8b8ee90f516..998349d7421a49bd692f7c8a206525055da52eab 100644 (file)
@@ -55,8 +55,7 @@ fprintf_to_ereport(const char *fmt, const char *msg)
  * GUC variables.  This is a DIRECT violation of the warning given at the
  * head of gram.y, ie flex/bison code must not depend on any GUC variables;
  * as such, changing their values can induce very unintuitive behavior.
- * But we shall have to live with it as a short-term thing until the switch
- * to SQL-standard string syntax is complete.
+ * But we shall have to live with it until we can remove these variables.
  */
 int            backslash_quote = BACKSLASH_QUOTE_SAFE_ENCODING;
 bool       escape_string_warning = true;