Re: How to configure two netcard for PostgreSQL?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "dailiming" <ldai(at)accunettech(dot)com>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Bruno Wolff III" <bruno(at)wolff(dot)to>, "Rudi Starcevic" <rudi(at)oasis(dot)net(dot)au>, pgsql-sql(at)postgresql(dot)org
Subject: Re: How to configure two netcard for PostgreSQL?
Date: 2003-03-31 02:15:28
Message-ID: 13583.1049076928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"dailiming" <ldai(at)accunettech(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message dailiming 2003-03-31 02:51:03 Re: How to configure two netcard for PostgreSQL?
Previous Message dailiming 2003-03-31 01:00:53 Re: How to configure two netcard for PostgreSQL?