PQstatus perhaps?
http://www.postgresql.org/docs/8.0/interactive/libpq-status.html
Chris
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?
>
>
>
> I checked the PostgreSQL docs but of no use.
>
> Is there any work around for this?
>
>
>
> /*/ Regards, /*/
>
> /*/ Siva Kumar.K /*/
>
>
>