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 1mkqBt-0003vq-P0 for pgsql-general@arkaria.postgresql.org; Wed, 10 Nov 2021 16:11:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkqBs-0008Al-OM for pgsql-general@arkaria.postgresql.org; Wed, 10 Nov 2021 16:11:12 +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 1mkqBs-0008Ac-EN for pgsql-general@lists.postgresql.org; Wed, 10 Nov 2021 16:11:12 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkqBn-0006K3-Mz for pgsql-general@lists.postgresql.org; Wed, 10 Nov 2021 16:11:11 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1mkqBm-0006hl-2m; Wed, 10 Nov 2021 11:11:06 -0500 Date: Wed, 10 Nov 2021 11:11:06 -0500 From: Bruce Momjian To: =?utf-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= Cc: pgsql-general@lists.postgresql.org Subject: Re: E.1.2. Migration to Version 14 Message-ID: <20211110161106.GA20540@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.