From: Nico Williams <nico@cryptonector.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Olleg Samoylov <splarv@ya.ru>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Interesting case of IMMUTABLE significantly hurting performance
Date: Thu, 10 Apr 2025 10:48:40 -0500
Message-ID: <Z/foWNmbdDOWH6/M@ubby> (raw)
In-Reply-To: <c857b827-3a17-4600-aa98-d0710216ccfe@aklaver.com>
References: <662101e2-5ca5-4bf5-9307-2519efde8690@ya.ru>
<8687df7d49bc4b28b41c7cf4e9ad1e15d383b2fa.camel@cybertec.at>
<Z/bk5E6pqIBWTF3j@ubby>
<c857b827-3a17-4600-aa98-d0710216ccfe@aklaver.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: nico@cryptonector.com, adrian.klaver@aklaver.com, laurenz.albe@cybertec.at, splarv@ya.ru, pgsql-general@lists.postgresql.org
Subject: Re: Interesting case of IMMUTABLE significantly hurting performance
In-Reply-To: <Z/foWNmbdDOWH6/M@ubby>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox