Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFdVE-0007Uc-6a for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Aug 2021 14:22:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mFdVD-0001mo-4f for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Aug 2021 14:22:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFdVC-0001mg-UQ for pgsql-bugs@lists.postgresql.org; Mon, 16 Aug 2021 14:22:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFdVA-0000Do-RX for pgsql-bugs@lists.postgresql.org; Mon, 16 Aug 2021 14:22:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 17GEM6T1880380; Mon, 16 Aug 2021 10:22:06 -0400 From: Tom Lane To: rekgrpth@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17147: Why concat_ws and concat is not immutable? In-reply-to: <17147-11e30c950a4faae8@postgresql.org> References: <17147-11e30c950a4faae8@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 16 Aug 2021 12:03:48 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <880378.1629123726.1@sss.pgh.pa.us> Date: Mon, 16 Aug 2021 10:22:06 -0400 Message-ID: <880379.1629123726@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form 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