Re: BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT
Дата
Msg-id 22390.1384140078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT  (peter.reijnders@verpeteren.nl)
Список pgsql-bugs
peter.reijnders@verpeteren.nl writes:
> I am having troubles with a the RETURNING clause on a INSERT when using
> PQsendQueryParams.

The bug in this test program is that you're asking for binary output
format (by passing 1 as the last argument to PQsendQueryParams) but then
expecting text-format results.  The one column that's of type text prints
okay anyway (since there's no difference), but the others don't.  If
you change that argument to zero, the program prints the expected results.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8532: postgres fails to start with timezone-data >=2013e
Следующее
От: mle+tools@mega-nerd.com
Дата:
Сообщение: BUG #8586: Misleading fe_sendauth error message