Re: CONCAT function - Mailing list pgsql-general

From Tom Lane
Subject Re: CONCAT function
Date
Msg-id 3361.1410026366@sss.pgh.pa.us
Whole thread Raw
In response to CONCAT function  (Vinayak <vinpokale@gmail.com>)
Responses Re: CONCAT function  (Vinayak <vinpokale@gmail.com>)
List pgsql-general
Vinayak <vinpokale@gmail.com> writes:
> The pg_catalog.concat() is defined as STABLE function.
> why was STABLE preferred for concat() over IMMUTABLE?

concat() invokes datatype output functions, which are not necessarily
immutable.  An easy example is that timestamptz_out's results depend
on the TimeZone setting.

            regards, tom lane


pgsql-general by date:

Previous
From: Abelard Hoffman
Date:
Subject: Re: psql and tab-delimited output
Next
From: Adrian Klaver
Date:
Subject: Re: psql and tab-delimited output