Re: Patch proposal: make use of regular expressions for the username in pg_hba.conf

Поиск
Список
Период
Сортировка
От Drouvot, Bertrand
Тема Re: Patch proposal: make use of regular expressions for the username in pg_hba.conf
Дата
Msg-id 531b1394-bdb3-8b81-715c-c5bb49d0369f@gmail.com
обсуждение исходный текст
Ответ на Re: Patch proposal: make use of regular expressions for the username in pg_hba.conf  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,

On 10/19/22 3:18 AM, Michael Paquier wrote:
> On Tue, Oct 18, 2022 at 09:14:21AM +0200, Drouvot, Bertrand wrote:
>> BTW, what about adding a new TAP test (dedicated patch) to test the behavior
>> in case of errors during the regexes compilation in pg_ident.conf and
>> pg_hba.conf (not done yet)? (we could add it once this  patch series is
>> done).
> 
> Perhaps, that may become tricky when it comes to -DEXEC_BACKEND (for
> cases where no fork() implementation is available, aka Windows).  But
> a postmaster restart failure would generate logs that could be picked
> for a pattern check?

Right, that's how I'd see it. I'll give it a look.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: TRAP: FailedAssertion("prev_first_lsn < cur_txn->first_lsn", File: "reorderbuffer.c", Line: 927, PID: 568639)
Следующее
От: Richard Guo
Дата:
Сообщение: Some comments that should've covered MERGE