Re: Interesting case of IMMUTABLE significantly hurting performance

From: Nico Williams <nico(at)cryptonector(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Olleg Samoylov <splarv(at)ya(dot)ru>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Interesting case of IMMUTABLE significantly hurting performance
Date: 2025-04-11 05:30:38
Message-ID: Z/io/n/EQkzbBK2L@ubby
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Apr 11, 2025 at 07:15:44AM +0200, Laurenz Albe wrote:
> On Thu, 2025-04-10 at 22:18 -0500, Merlin Moncure wrote:
> > Facts.  This is black magic.   This has come up over and over. 
>
> Perhaps it would help to add the excellent information from the Wiki to the documentation:
> https://wiki.postgresql.org/wiki/Inlining_of_SQL_functions

Adding a warning in the functions _docs_ to check their various
attributes in the cataclog would suffice.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2025-04-11 07:59:18 Re: Interesting case of IMMUTABLE significantly hurting performance
Previous Message Laurenz Albe 2025-04-11 05:15:44 Re: Interesting case of IMMUTABLE significantly hurting performance