pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dailiming <ldai@accunettech.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Bruno Wolff III <bruno@wolff.to>
Cc: Rudi Starcevic <rudi@oasis.net.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to configure two netcard for PostgreSQL?
Date: Sun, 30 Mar 2003 21:15:28 -0500
Message-ID: <13583.1049076928@sss.pgh.pa.us> (raw)
In-Reply-To: <009e01c2f720$febdc920$1f00a8c0@accunettech.com>
References: <Pine.LNX.4.44.0303281446470.2204-100000@peter.localdomain>
	<009e01c2f720$febdc920$1f00a8c0@accunettech.com>

"dailiming" <ldai@accunettech.com> writes:
> Yes, I have already set the two Ip address in the pg_hba.conf file .
> But It do nothing.

No, what you need is to put in the addresses or address ranges of all
the machines that will connect through either net card.  (And don't
forget to SIGHUP the postmaster after you change its config file.)

The fact that there are multiple net cards doesn't matter at all;
Postgres should bind to its port number on each of the machine's IP
addresses, automatically.

			regards, tom lane




view thread (9+ messages)  latest in thread

Message-ID: <13583.1049076928@sss.pgh.pa.us>
Permalink:  ../13583.1049076928@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13583.1049076928@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ldai@accunettech.com, peter_e@gmx.net, bruno@wolff.to, rudi@oasis.net.au
  Subject: Re: How to configure two netcard for PostgreSQL?
  In-Reply-To: <13583.1049076928@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