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 /*/


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to