Re: Should work_mem be stable for a prepared statement?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Should work_mem be stable for a prepared statement?
Дата
Msg-id CAKAnmmJDsTx967Mb_2de028NCwqRGuG9OVy19sd1nWTp01fM6Q@mail.gmail.com
обсуждение исходный текст
Ответ на Should work_mem be stable for a prepared statement?  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Thu, Feb 27, 2025 at 1:42 PM Jeff Davis <pgsql@j-davis.com> wrote:
It would make more sense to me if we either (a) enforced work_mem as it was at the time of planning; or (b) replanned if executed with a different work_mem (similar to how we replan sometimes with different parameters).

Definitely (b). 

But I'm not sure whether someone might be relying on the existing behavior?

I cannot fathom a reason why.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

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