Christopher Kings-Lynne wrote:
PQstatus perhaps?http://www.postgresql.org/docs/8.0/interactive/libpq-status.html
This only returns the last status, not the current. pgAdmin uses SELECT 1 for this. Regards, Andreas ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org