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, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly