Re: [DOCS] example for PGRES_COMMAND_OK

2013-01-18 Thread Peter Eisentraut
On Fri, 2012-10-26 at 16:58 -0700, Josh Kupershmidt wrote: > However, as of 8.2 we support the popular INSERT ... RETURNING and > UPDATE ... RETURNING, both of which will naturally give a successful > PQresultStatus() of PGRES_TUPLES_OK. committed -- Sent via pgsql-docs mailing list (pgsql-doc

[DOCS] example for PGRES_COMMAND_OK

2012-10-26 Thread Josh Kupershmidt
Hi all, This libpq page: http://www.postgresql.org/docs/current/static/libpq-exec.html#LIBPQ-PQRESULTSTATUS has claimed since at least the 7.x days: | PGRES_COMMAND_OK is for commands that can never return rows (INSERT, UPDATE, etc.) However, as of 8.2 we support the popular INSERT ... RETURN