Re: API like mysql_ping - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: API like mysql_ping
Date
Msg-id 430DAE47.9050805@pse-consulting.de
Whole thread Raw
In response to Re: API like mysql_ping  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: API like mysql_ping
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: API like mysql_ping
Next
From: Oliver Jowett
Date:
Subject: Re: API like mysql_ping