Re: postmasteralive()

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: postmasteralive()
Date: 2000-12-26 13:46:54
Message-ID: 005701c06f42$4e96bc40$330a0a0a@6014cwpza006
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Zambeel(dot)com>
To: <pgsql-general(at)postgresql(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uro Gruber 2000-12-26 14:40:08 RETURN multiple columns in FUNCTION
Previous Message Nelio Alves Pereira Filho 2000-12-26 13:43:26 MySQL to PostgreSQL