Re: BUG #17147: Why concat_ws and concat is not immutable?

From: RekGRpth <rekgrpth(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17147: Why concat_ws and concat is not immutable?
Date: 2021-08-16 14:33:43
Message-ID: CAPgh2mJBakC5+2gHFQbaU1moCdvwYmee0MkxZ4sJYnzuwAcFKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you for the clarification.

пн, 16 авг. 2021 г. в 19:22, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>
> PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> > Why concat_ws and concat is not immutable?
>
> Those invoke datatype-specific output functions, which aren't guaranteed
> to be immutable. Maybe ideally they would be, but we have too much
> historical baggage --- for example, timestamp_out has always depended
> on DateStyle.
>
> regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-08-16 15:19:33 Re: psql crash when running a procedure with an inout parameter and a commit
Previous Message Chuck Nellis 2021-08-16 14:24:52 RE: Re: psql crash when running a procedure with an inout parameter and a commit