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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT
Дата
Msg-id 20131030141337.GC5922@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT  (peter.reijnders@verpeteren.nl)
Список pgsql-bugs
peter.reijnders@verpeteren.nl wrote:

> I am having troubles with a the RETURNING clause on a INSERT when using
> PQsendQueryParams.
> PQsendQuery is returning the record as it has been written to to database.
> PQsendQueryParams appears just to be returning the records, before these
> have been written.
> That means that defaults and serial fields are ('') empty.
> Am I doing something wrong, or is PQsendQueryParams indeed behaving
> differently then PQsendQuery.

Anyone have an idea about this?  Seems mighty curious.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: BUG #8568: PLPGSQL Documentation For CASE Is incorrect
Следующее
От: Francisco Olarte
Дата:
Сообщение: No reply-to in list messages.