Re: async. query processing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: async. query processing
Date: 2005-06-30 14:24:52
Message-ID: 18610.1120141492@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Ruslan A Dautkhanov <rusland(at)scn(dot)ru> 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bobi Ivanov 2005-06-30 15:03:09 Re: BUG #1735: row number -1 is out of range 0..-1 error
Previous Message Ruslan A Dautkhanov 2005-06-30 13:59:20 async. query processing