Re: Struggling with 13->14 and anyarray -> anycompatiblearray

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Struggling with 13->14 and anyarray -> anycompatiblearray
Date: 2022-11-04 19:12:49
Message-ID: 2475533.1667589169@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Wells Oliver <wells(dot)oliver(at)gmail(dot)com> writes:
> I've inherited a DB with a lot of legacy functions and aggregates that have
> 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 = 'array_append'::regproc;

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2022-11-04 20:51:59 Re: Struggling with 13->14 and anyarray -> anycompatiblearray
Previous Message Wells Oliver 2022-11-04 18:47:41 Struggling with 13->14 and anyarray -> anycompatiblearray