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 1or27b-0002Ei-Fj for pgsql-admin@arkaria.postgresql.org; Fri, 04 Nov 2022 19:12:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1or27Z-0003Pq-LH for pgsql-admin@arkaria.postgresql.org; Fri, 04 Nov 2022 19:12:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1or27Z-0003Pg-AI for pgsql-admin@lists.postgresql.org; Fri, 04 Nov 2022 19:12:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1or27X-00044Q-2W for pgsql-admin@postgresql.org; Fri, 04 Nov 2022 19:12:52 +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 2A4JCnAv2475534; Fri, 4 Nov 2022 15:12:49 -0400 From: Tom Lane To: Wells Oliver cc: pgsql-admin Subject: Re: Struggling with 13->14 and anyarray -> anycompatiblearray In-reply-to: References: Comments: In-reply-to Wells Oliver message dated "Fri, 04 Nov 2022 11:47:41 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2475532.1667589169.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Nov 2022 15:12:49 -0400 Message-ID: <2475533.1667589169@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Wells Oliver writes: > I've inherited a DB with a lot of legacy functions and aggregates that h= ave > an SFUNC of array_append and an STYPE of anyarray. > Is there some way I can query for these aggregates/functions and see how > many I need to drop and have available to replace after a > successful upgrade? Something like select aggfnoid::regprocedure from pg_aggregate where aggtransfn =3D 'arra= y_append'::regproc; regards, tom lane