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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Struggling with 13->14 and anyarray -> anycompatiblearray
Дата
Msg-id 2475533.1667589169@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Struggling with 13->14 and anyarray -> anycompatiblearray  (Wells Oliver <wells.oliver@gmail.com>)
Ответы Re: Struggling with 13->14 and anyarray -> anycompatiblearray  (Wells Oliver <wells.oliver@gmail.com>)
Список pgsql-admin
Wells Oliver <wells.oliver@gmail.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



В списке pgsql-admin по дате отправления:

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Struggling with 13->14 and anyarray -> anycompatiblearray
Следующее
От: Wells Oliver
Дата:
Сообщение: Re: Struggling with 13->14 and anyarray -> anycompatiblearray