Re: postmasteralive() - Mailing list pgsql-general

From Adam Lang
Subject Re: postmasteralive()
Date
Msg-id 005701c06f42$4e96bc40$330a0a0a@6014cwpza006
Whole thread Raw
In response to postmasteralive()  (Sandeep Joshi <sjoshi@Zambeel.com>)
Responses pg_hba.conf on Linux
List pgsql-general
Why don't you just check to see if you can connect to the database through
normal means?  If you can't connect, it isn't accessible. (As long as your
connection routine is correct, of course.)

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Sandeep Joshi" <sjoshi@Zambeel.com>
To: <pgsql-general@postgresql.org>
Sent: Friday, December 22, 2000 7:24 PM
Subject: [GENERAL] postmasteralive()


>
> In my application I need to know whether the postmaster is alive or not
> and
> also whether a particular database is accessible or not.
>
> I need  api's  to do this.  Are there any?
>
>
> thanks,
> Sandeep


pgsql-general by date:

Previous
From: Nelio Alves Pereira Filho
Date:
Subject: MySQL to PostgreSQL
Next
From: Uro¹ Gruber
Date:
Subject: RETURN multiple columns in FUNCTION