Re: pg_hba.conf changes have no effect on cygwin/NT 4.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_hba.conf changes have no effect on cygwin/NT 4.0
Дата
Msg-id 13175.983312950@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_hba.conf changes have no effect on cygwin/NT 4.0  (lbottorff@harveycounty.com)
Список pgsql-admin
lbottorff@harveycounty.com writes:
> Any other lines in pg_hba.conf don't seem to work,

Hmm.  Forgive me for asking the obvious, but are you sure you are
editing the same copy of pg_hba.conf that the postmaster is looking at?

> Note I am using cygwin/NT 4.0 to run Postgres 7.0.3. I am
> starting and stopping postgres after each pg_hba.conf change.

It is not necessary to restart the postmaster after changing pg_hba.conf
(because it's re-read on each connect request ... inelegant, but
effective ...).

Perhaps cygwin/NT is doing something weird that causes the updated file
not to be seen?

Also, it might be a good idea to be sure you are saving the file with
Unix-ish newlines, not DOS-ish.  Not sure whether our pg_hba reader code
will treat \r as whitespace or not.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: lbottorff@harveycounty.com
Дата:
Сообщение: pg_hba.conf changes have no effect on cygwin/NT 4.0
Следующее
От: "Enrico Mangano"
Дата:
Сообщение: