Re: API like mysql_ping

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Sivakumar K <sivakumark(at)pervasive-postgres(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: API like mysql_ping
Date: 2005-08-25 11:40:55
Message-ID: 430DAE47.9050805@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Jowett 2005-08-25 12:18:07 Re: API like mysql_ping
Previous Message Christopher Kings-Lynne 2005-08-25 11:29:46 Re: API like mysql_ping