Re: How to configure two netcard for PostgreSQL? - Mailing list pgsql-sql

From Tom Lane
Subject Re: How to configure two netcard for PostgreSQL?
Date
Msg-id 13583.1049076928@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to configure two netcard for PostgreSQL?  ("dailiming" <ldai@accunettech.com>)
List pgsql-sql
"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



pgsql-sql by date:

Previous
From: "dailiming"
Date:
Subject: Re: How to configure two netcard for PostgreSQL?
Next
From: "dailiming"
Date:
Subject: Re: How to configure two netcard for PostgreSQL?