Missing ParameterStatus for backslash_quote

Поиск
Список
Период
Сортировка
От Michael Paesold
Тема Missing ParameterStatus for backslash_quote
Дата
Msg-id 456A05A7.70109@gmx.at
обсуждение исходный текст
Ответы Re: Missing ParameterStatus for backslash_quote  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: "Optional ident" authentication
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: [PATCHES] Avg performance for int8/numeric