Re: API like mysql_ping - Mailing list pgsql-hackers

From Oliver Jowett
Subject Re: API like mysql_ping
Date
Msg-id 430DB6FF.8050200@opencloud.com
Whole thread Raw
In response to API like mysql_ping  ("Sivakumar K" <sivakumark@pervasive-postgres.com>)
Responses Re: API like mysql_ping
List 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


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: API like mysql_ping
Next
From: Oliver Jowett
Date:
Subject: Re: TODO questions