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 1lbr6D-0002a9-H5 for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 20:47:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lbr6C-0004Xg-AO for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 20:47:56 +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 1lbr6C-0004TD-3J for pgsql-hackers@lists.postgresql.org; Wed, 28 Apr 2021 20:47:56 +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 1lbr6A-00028n-4N for pgsql-hackers@lists.postgresql.org; Wed, 28 Apr 2021 20:47:55 +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 13SKlpiN2940602; Wed, 28 Apr 2021 16:47:51 -0400 From: Tom Lane To: Daniel Gustafsson cc: PostgreSQL Hackers , Tomas Vondra Subject: Re: pg_upgrade fails to detect unsupported arrays and ranges In-reply-to: <7062C2A2-BF72-41EC-A058-9A31F8AAC550@yesql.se> References: <31473.1573412838@sss.pgh.pa.us> <124042D9-F307-402A-80ED-395C154858BA@yesql.se> <4978.1573420358@sss.pgh.pa.us> <63DE9A1C-5F59-47AF-90C9-26A7EF9897B3@yesql.se> <12987.1573427177@sss.pgh.pa.us> <2798740.1619622555@sss.pgh.pa.us> <7062C2A2-BF72-41EC-A058-9A31F8AAC550@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Wed, 28 Apr 2021 22:38:28 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2940600.1619642871.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 28 Apr 2021 16:47:51 -0400 Message-ID: <2940601.1619642871@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 28 Apr 2021, at 17:09, Tom Lane wrote: >> + pg_fatal("Your installation contains system-defined composite type(s= ) in user tables.\n" >> + "These type OIDs are not stable across PostgreSQL versions,\n" >> + "so this cluster cannot currently be upgraded. You can\n" >> + "remove the problem tables and restart the upgrade.\n" >> + "A list of the problem columns is in the file:\n" > Would it be helpful to inform the user that they can alter/drop just the > problematic columns as a potentially less scary alternative to dropping = the > entire table? This wording is copied-and-pasted from the other similar tests. I agree that it's advocating a solution that might be overkill, but if we change it we should also change the existing messages. I don't mind doing that in HEAD; less sure about the back branches, as (I think) these are translatable strings. Thoughts? >> - * The type of interest might be wrapped in a domain, array, >> + * The types of interest might be wrapped in a domain, array, > Shouldn't this be "type(s)=E2=80=9D as in the other changes here? Fair enough. regards, tom lane