Re: BUG #5720: Bug for PQescapeByteaConn (libpq)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5720: Bug for PQescapeByteaConn (libpq)
Дата
Msg-id 5280.1287809881@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5720: Bug for PQescapeByteaConn (libpq)  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-bugs
Craig Ringer <craig@postnewspapers.com.au> writes:
> On 23/10/2010 1:11 AM, Tom Lane wrote:
>> Why do you expect that?  The parameter only controls the *server*'s
>> output, it is not suggested anywhere that it should have an effect
>> on clients.

> I'm not at all sure what the right answer is here. I just wanted to
> raise reasons why the OP isn't necessarily unreasonable in expecting the
> behaviour they describe.

The definition of the PQescape functions is that they produce strings
that will be acceptable to the server they're connected to.  The OP
apparently wishes some other definition, but he's failed to put forward
any argument at all why it should be changed.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #5720: Bug for PQescapeByteaConn (libpq)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #5720: Bug for PQescapeByteaConn (libpq)