Re: Don't overwrite scan key in systable_beginscan()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Don't overwrite scan key in systable_beginscan()
Дата
Msg-id 2560232.1723179346@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Don't overwrite scan key in systable_beginscan()  (Noah Misch <noah@leadboat.com>)
Ответы Re: Don't overwrite scan key in systable_beginscan()
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Thu, Aug 08, 2024 at 08:46:35AM +0200, Peter Eisentraut wrote:
>> I propose to fix that by making a copy of the scan keys passed by the caller
>> and make the modifications there.

> No objection, but this would obsolete at least some of these comments (the
> catcache.c ones if nothing else):

That ties into something I forgot to ask: aren't there any copy steps
or other overhead that we could remove, given this new API constraint?
That would help address Robert's concern.

            regards, tom lane



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