From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Frank D(dot) Engel, Jr(dot)" <fde101(at)fjrhome(dot)net> |
Cc: | Postgres general mailing list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Parsing of backslash in statements via ODBC |
Date: | 2005-01-14 23:43:25 |
Message-ID: | 27150.1105746205@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Frank D. Engel, Jr." <fde101(at)fjrhome(dot)net> writes:
> Given that this issue is a violation of SQL compatibility, shouldn't
> there really be an option to turn off interpretation of backslash
> characters in string literals as escapes? Maybe as a session variable
> of some kind, with a default being set in postgresql.conf?
That has about as much chance of getting in as a session variable to
change the identifier-case-folding behavior, and for the same reason:
any such variable is certain to break tons of existing client-side code
that doesn't know about it. We already learned this lesson with respect
to autocommit :-(.
It is irritating that we can't easily support exactly-spec-compliant
applications, and I'd like to find a solution. But a GUC variable
ain't it. See past discussions about case-folding behavior for some
of the ramifications.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-14 23:47:35 | Re: Parsing of backslash in statements via ODBC |
Previous Message | Martijn van Oosterhout | 2005-01-14 23:37:49 | Re: [HACKERS] Much Ado About COUNT(*) |