Re: Detecting postgres servers - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Detecting postgres servers
Date
Msg-id 3972.1136926819@sss.pgh.pa.us
Whole thread Raw
In response to Re: Detecting postgres servers  (Murray Cumming <murrayc@murrayc.com>)
List pgsql-interfaces
Murray Cumming <murrayc@murrayc.com> writes:
> On Sat, 2005-11-19 at 18:34 +0100, Murray Cumming wrote:
>> Is there any way, without a username and password, to
>> 1. Detect whether a Postgres server is running on a certain host on a
>> certain port.
>> 2. Detect whether a Postgres server is running on a certain host.
>> 3. Detect whether a Postgres server is running somewhere on the local
>> network, via some bonjour/rendezvous/avahi/howl-type thing?

We have bonjour code, but it's written to Apple's API and hence only
works on Darwin.  There was some talk recently of revising that code
to be more portable ... dunno if anyone is actually working on it,
but check the archives.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Detecting postgres servers
Next
From: Ludek Finstrle
Date:
Subject: Re: libpq and auth type