Re: [BUGS] async. query processing

2005-06-30 Thread Tom Lane
Ruslan A Dautkhanov <[EMAIL PROTECTED]> writes: > How to distinguish is PQgetResult(pgConn) return NULL when just no more > data to process > OR when hard error occur during fetching data from DB? An error will give you back an error PGresult object, not null. regards, to

[BUGS] async. query processing

2005-06-30 Thread Ruslan A Dautkhanov
Hello ! How to distinguish is PQgetResult(pgConn) return NULL when just no more data to process OR when hard error occur during fetching data from DB? In the docs for PQsendQuery I not see any reference that PQgetResult can indicate that error raised. What changed since PG 7? I have a code in