Re: Adding OLD/NEW support to RETURNING

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: Adding OLD/NEW support to RETURNING
Дата
Msg-id CAEZATCUw4PcyKepqHUTef4AJ_OFzP+69QGuHHvdB+kEJDQPhmw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Adding OLD/NEW support to RETURNING  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Adding OLD/NEW support to RETURNING  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Mon, 25 Mar 2024 at 14:04, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> v7 patch attached, with those updates.
>

Rebased version attached, forced by 87985cc925.

The changes made in that commit didn't entirely make sense to me, but
the ExecDelete() change, copying data between slots, broke this patch,
because it wasn't setting the slot's tableoid. That copying seemed to
be unnecessary anyway, so I got rid of it, and it works fine. While at
it, I also removed the extra "oldslot" argument added to ExecDelete(),
which didn't seem necessary, and wasn't documented clearly. Those
changes could perhaps be extracted and applied separately.

Regards,
Dean

Вложения

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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Slow GRANT ROLE on PostgreSQL 16 with thousands of ROLEs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow GRANT ROLE on PostgreSQL 16 with thousands of ROLEs