Re: Querying one partition in a function takes locks on all partitions

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Querying one partition in a function takes locks on all partitions
Дата
Msg-id f29565cb8b0cea781e6334c94c89d9b575a8023a.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Querying one partition in a function takes locks on all partitions  (Renan Alves Fonseca <renanfonseca@gmail.com>)
Ответы Re: Querying one partition in a function takes locks on all partitions
Список pgsql-general
On Mon, 2025-03-31 at 18:41 +0200, Renan Alves Fonseca wrote:
> I would add another Note below like:
> "Except when inlined, an SQL function is always executed with a
> generic plan. This behavior may not be desired in some situations, and
> it will be fixed in future versions."

But that is not true, as far as I can tell: just like any other prepared
statement, it may keep using custom plans.

Yours,
Laurenz Albe



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