Missing ParameterStatus for backslash_quote - Mailing list pgsql-hackers

From Michael Paesold
Subject Missing ParameterStatus for backslash_quote
Date
Msg-id 456A05A7.70109@gmx.at
Whole thread Raw
Responses Re: Missing ParameterStatus for backslash_quote  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: "Optional ident" authentication
Next
From: Mark Kirkwood
Date:
Subject: Re: [PATCHES] Avg performance for int8/numeric