Re: API like mysql_ping

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Sivakumar K <sivakumark(at)pervasive-postgres(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: API like mysql_ping
Date: 2005-08-25 12:18:07
Message-ID: 430DB6FF.8050200@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sivakumar K wrote:
> Do we have an API like mysql_ping to check whether the server is up and
> running after the connection has been established?

At the protocol level, you could send Sync and wait for ReadyForQuery.

-O

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Jowett 2005-08-25 12:27:27 Re: TODO questions
Previous Message Andreas Pflug 2005-08-25 11:40:55 Re: API like mysql_ping