pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Murray Cumming <murrayc@murrayc.com>
Cc: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: Detecting postgres servers
Date: Tue, 10 Jan 2006 16:00:19 -0500
Message-ID: <3972.1136926819@sss.pgh.pa.us> (raw)
In-Reply-To: <1136925763.20493.8.camel@localhost.localdomain>
References: <1132421658.10562.31.camel@localhost.localdomain>
	<1136925763.20493.8.camel@localhost.localdomain>

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



view thread (4+ messages)

Message-ID: <3972.1136926819@sss.pgh.pa.us>
Permalink:  ../3972.1136926819@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3972.1136926819@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, murrayc@murrayc.com
  Subject: Re: Detecting postgres servers
  In-Reply-To: <3972.1136926819@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox