Re: BUG #17147: Why concat_ws and concat is not immutable? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17147: Why concat_ws and concat is not immutable?
Date
Msg-id 880379.1629123726@sss.pgh.pa.us
Whole thread Raw
In response to BUG #17147: Why concat_ws and concat is not immutable?  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #17147: Why concat_ws and concat is not immutable?  (RekGRpth <rekgrpth@gmail.com>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql crash when running a procedure with an inout parameter and a commit
Next
From: Chuck Nellis
Date:
Subject: RE: Re: psql crash when running a procedure with an inout parameter and a commit