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 1lrrwp-0006CU-EV for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Jun 2021 00:56:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lrrwl-0007Yp-Bz for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Jun 2021 00:56:23 +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 1lrrwl-0007Yh-4P for pgsql-hackers@lists.postgresql.org; Sat, 12 Jun 2021 00:56:23 +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 1lrrwj-000436-6n for pgsql-hackers@lists.postgresql.org; Sat, 12 Jun 2021 00:56:22 +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 15C0uJNN2137766; Fri, 11 Jun 2021 20:56:19 -0400 From: Tom Lane To: Bruce Momjian cc: Justin Pryzby , pgsql-hackers@lists.postgresql.org Subject: Re: array_cat anycompatible change is breaking xversion upgrade tests (v14 release notes) In-reply-to: <20210612003244.GA8278@momjian.us> References: <20210609001000.GU16435@telsasoft.com> <20210612003244.GA8278@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 11 Jun 2021 20:32:44 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2137764.1623459379.1@sss.pgh.pa.us> Date: Fri, 11 Jun 2021 20:56:19 -0400 Message-ID: <2137765.1623459379@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > OK, I came up with the attached patch. This is one of the few cases > where the incompatibility is not clearly related to the feature, so I > left the existing item alone and just created a new one with the same > commit message in the incompatibilities section. I think phrasing this as though user-defined aggregates are the only pain point is incorrect. For example, a custom operator based on array_cat would have issues too. I suggest a treatment more like Some built-in array-related functions changed signature (Tom Lane) Certain functions were redefined to take anycompatiblearray instead of anyarray. While this does not affect ordinary calls, it does affect code that directly names these functions along with their argument types; for example, custom aggregates and operators based on these functions. The affected functions are [ blah, blah ] regards, tom lane