peter(dot)reijnders(at)verpeteren(dot)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