Skip site navigation (1) Skip section navigation (2)

Re: Detecting postgres servers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Murray Cumming <murrayc(at)murrayc(dot)com>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Detecting postgres servers
Date: 2006-01-10 21:00:19
Message-ID: 3972.1136926819@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
Murray Cumming <murrayc(at)murrayc(dot)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

In response to

pgsql-interfaces by date

Next:From: Ludek FinstrleDate: 2006-01-11 10:50:20
Subject: Re: libpq and auth type
Previous:From: Jaime CasanovaDate: 2006-01-10 20:49:47
Subject: Re: Detecting postgres servers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group