Re: Assert failure with MERGE into partitioned table with RLS

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: Assert failure with MERGE into partitioned table with RLS
Дата
Msg-id CAEZATCXwJdOpnkb-NAmKkU0JRA5edkJNeJJHAsWqFQzC1tXPbA@mail.gmail.com
обсуждение исходный текст
Ответ на Assert failure with MERGE into partitioned table with RLS  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
On Mon, 20 Feb 2023 at 16:18, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> As part of the MERGE RETURNING patch I noticed a suspicious Assert()
> in ExecInitPartitionInfo() that looked like it needed updating for
> MERGE.
>
> After more testing, I can confirm that this is indeed a pre-existing
> bug, that can be triggered using MERGE into a partitioned table that
> has RLS enabled (and hence non-empty withCheckOptionLists to
> initialise).
>
> So I think we need something like the attached.
>

Pushed and back-patched.

Regards,
Dean



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Disable rdns for Kerberos tests
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: LWLock deadlock in brinRevmapDesummarizeRange