Re: Thoughts on pg_hba.conf rejection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Thoughts on pg_hba.conf rejection
Дата
Msg-id 710.1271339059@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Thoughts on pg_hba.conf rejection  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Thoughts on pg_hba.conf rejection  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Simon Riggs (simon@2ndQuadrant.com) wrote:
>> So instead of the typical "reject" instruction we also add a
>> "rejectverbose" instruction that has a more verbose message.

> Erm, so we'd add an option for this?  That strikes me as pretty
> excessive.

I think Simon's point was that we'd need a different uaReject enum
value internally in the code, so that the place where the message
gets issued would be able to distinguish explicit REJECT entry from
falling off the end of the file.  Changing what the user is expected
to put in the file would be silly.  (I don't care for "rejectverbose"
though.  Maybe uaImplicitReject for the end-of-file case would be
the most readable way.)
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Thoughts on pg_hba.conf rejection
Следующее
От: "Erik Rijkers"
Дата:
Сообщение: Re: testing HS/SR - invalid magic number