Re: How to configure two netcard for PostgreSQL?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to configure two netcard for PostgreSQL?
Дата
Msg-id 13583.1049076928@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to configure two netcard for PostgreSQL?  ("dailiming" <ldai@accunettech.com>)
Список 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 по дате отправления:

Предыдущее
От: "dailiming"
Дата:
Сообщение: Re: How to configure two netcard for PostgreSQL?
Следующее
От: "dailiming"
Дата:
Сообщение: Re: How to configure two netcard for PostgreSQL?