Re: [16+] subscription can end up in inconsistent state

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: [16+] subscription can end up in inconsistent state
Дата
Msg-id 5438ebe33bce797e5ffe24eaca81f1d130af9617.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: [16+] subscription can end up in inconsistent state  (vignesh C <vignesh21@gmail.com>)
Ответы Re: [16+] subscription can end up in inconsistent state  (vignesh C <vignesh21@gmail.com>)
Re: [16+] subscription can end up in inconsistent state  (vignesh C <vignesh21@gmail.com>)
Список pgsql-bugs
On Mon, 2023-11-27 at 10:26 +0530, vignesh C wrote:
> The patch was not applying on HEAD because of recent commits, the
> attached v6 version patch is rebased on top of HEAD.

Thank you, committed with minor modifications.

I decided to do:

   libpqrcv_check_conninfo(conninfo, must_use_password);

rather than:

   if (must_use_password)
      libpqrcv_check_conninfo(conninfo, true);

because if there's some parsing error then we wouldn't like it to be
conditional on must_use_password. Of course, there should not be any
parsing error because it was already validated at DDL time, but in case
there's another way to get into an inconsistent state, we might as well
re-validate here.

Regards,
    Jeff Davis




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17798: Incorrect memory access occurs when using BEFORE ROW UPDATE trigger
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends