pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Дмитрий Иванов <firstdismay@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: E.1.2. Migration to Version 14
Date: Wed, 10 Nov 2021 11:11:06 -0500
Message-ID: <20211110161106.GA20540@momjian.us> (raw)
In-Reply-To: <CAPL5KHrASvz46u4rKwiZ4Ui3J9sUnEkxc0H0QMfz4o0bFAevNA@mail.gmail.com>
References: <CAPL5KHrASvz46u4rKwiZ4Ui3J9sUnEkxc0H0QMfz4o0bFAevNA@mail.gmail.com>

On Wed, Nov 10, 2021 at 12:30:37PM +0500, Дмитрий Иванов wrote:
> Hello!
> E.1.2 Migration to Version 14
>  array_append(), array_prepend(), array_cat(), array_position(), 
> array_positions(), array_remove(), array_replace(), and width_bucket()
> 
> Is this a complete list of functions? Or you need to remove all functions:
> Table 9.52. Array Functions
> 
> Do the functions need to be deleted and restored, or can they be recreated?
> I have a lot of them and they are called from other functions:
> 
> Uchet=# SELECT COUNT(pg_proc.proname) AS "COUNT"
> Uchet-#    FROM pg_proc
> Uchet-#   WHERE pg_proc.prosrc ~~ '%array%'::text AND pg_proc.pronamespace =
> 16443::oid;
>  COUNT
> -------
>     89
> (1 row)
> Trying to estimate labor costs and migration opportunities.
> Thanks!

Uh, I think they can just be recreated on the new server.  I think we
suggested delete then create so that the functions would not be called
accidentally on the new server before being recreated.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






view thread (3+ messages)  latest in thread

Message-ID: <20211110161106.GA20540@momjian.us>
Permalink:  ../20211110161106.GA20540@momjian.us/
Also on:    postgresql.org/message-id/20211110161106.GA20540@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: bruce@momjian.us, firstdismay@gmail.com
  Subject: Re: E.1.2. Migration to Version 14
  In-Reply-To: <20211110161106.GA20540@momjian.us>
  References: <CAPL5KHrASvz46u4rKwiZ4Ui3J9sUnEkxc0H0QMfz4o0bFAevNA@mail.gmail.com> <20211110161106.GA20540@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox