Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rOLpg-003RtB-Ps for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jan 2024 18:00:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rOLpf-004KSF-3p for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jan 2024 18:00:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rOLpe-004KS7-QA for pgsql-hackers@lists.postgresql.org; Fri, 12 Jan 2024 18:00:38 +0000 Received: from mail.verite.pro ([185.16.44.216]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rOLpa-001EX5-7I for pgsql-hackers@postgresql.org; Fri, 12 Jan 2024 18:00:38 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id 0C5A78C0249; Fri, 12 Jan 2024 19:00:32 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Built-in CTYPE provider From: "Daniel Verite" To: "Jeff Davis" Cc: Robert Haas , Jeremy Schneider , pgsql-hackers@postgresql.org In-Reply-To: Date: Fri, 12 Jan 2024 19:00:28 +0100 Message-Id: <1ecded1b-4ff8-46da-9b94-6e240db2a23b@manitou-mail.org> X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jeff Davis wrote: > > Jeremy also raised a problem with old versions of psql connecting to > > a > > new server: the \l and \dO won't work. Not sure exactly what to do > > there, but I could work around it by adding a new field rather than > > renaming (though that's not ideal). >=20 > I did a bit of research for a precedent, and the closest I could find > is that \dp was broken between 14 and 15 by commit 07eee5a0dc. Another one is that version 12 broke \d in older psql by removing pg_class.relhasoids. ISTM that in general the behavior of old psql vs new server does not weight much against choosing optimal catalog changes. There's also that warning at start informing users about it: WARNING: psql major version X, server major version Y. Some psql features might not work. Best regards, --=20 Daniel V=E9rit=E9 https://postgresql.verite.pro/ Twitter: @DanielVerite