Re: [GENERAL] reload postgresql with invalid pg_hba.conf
От | Tom Lane |
---|---|
Тема | Re: [GENERAL] reload postgresql with invalid pg_hba.conf |
Дата | |
Msg-id | 25480.1505763360@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | [GENERAL] reload postgresql with invalid pg_hba.conf (jotpe <jotpe@posteo.de>) |
Ответы |
Re: [GENERAL] reload postgresql with invalid pg_hba.conf
|
Список | pgsql-general |
jotpe <jotpe@posteo.de> writes: > A system administration applied an invalid line into the pg_hba.conf > file and called "service postgresql reload". Since that command doesn't > return any error and leaves with exit code 0 it seams that new > configuration was applied. > Of course postgresql added a warning to the log file: "pg_hba.conf not > reloaded". > But even when I execute SELECT pg_reload_conf(), true is returned. > Is this the desired behavior? I wouldn't say it's desired behavior, exactly, but there's no very good way to improve it. pg_ctl has no visibility into what the postmaster is thinking. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: