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