=?KOI8-R?B?99HexdPMwdcg4szJzs7Jy8/X?= <slav...@gmail.com> writes:
> I retrieve asynchronous queries results using PQgetResult() which returns
> NULL not in case of some error, but when results end - so there is no way to
> know if database responded successfully or there happened some error?
> For example, error can happen when column names are miswritten.

Huh?  You'll get back a PGresult with error status if the query failed.
NULL implies that you already collected the PGresult and there's nothing
more to do.

                        regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to