Re: Interesting case of IMMUTABLE significantly hurting performance

From: Nico Williams <nico(at)cryptonector(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, 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-10 15:48:40
Message-ID: Z/foWNmbdDOWH6/M@ubby
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 09, 2025 at 02:43:11PM -0700, Adrian Klaver wrote:
> On 4/9/25 14:21, Nico Williams wrote:
> > That to_char is not immutable is not documented though. Though it's
> > clear when looking at the docs for the `jsonb_.*_tz()` functions.
>
> From here:
>
> https://www.postgresql.org/docs/current/catalog-pg-proc.html
>
> select proname, provolatile, prosrc from pg_proc where proname='to_char';
> [...]

I'm surprised to see that counted as docs, but good to know.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-04-10 15:59:05 Re: Interesting case of IMMUTABLE significantly hurting performance
Previous Message Adrian Klaver 2025-04-10 15:38:18 Re: Interesting case of IMMUTABLE significantly hurting performance