While trying to finish the support for standard_conforming_strings in
the JDBC driver, I realized that there is also a new variable
"backslash_quote" that controls whether a back-slash may be used to
escape a single quote inside a string constant.
Assuming the documentation is correct, this variable is not reported via
ParameterStatus messages.
http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html#PROTOCOL-ASYNC
This is a problem for the query parsing code inside the JDBC driver
because it needs to know about the state of this variable so that
parsing a query in the driver has the same result as in the backend.
I therefore ask to add backslash_quote to the hardcoded list of
variables that are reported via ParameterStatus in 8.2 as well as all
back-branches that support V3 as well as the backslash_quote variable
(7.4, 8.0, 8.1, I guess).
Best Regards
Michael Paesold