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 1st8Oa-00DpOj-JL for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2024 16:28:13 +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 1st8OX-00AKGF-Mb for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2024 16:28:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1st8OX-00AKG6-Cj for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2024 16:28:09 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1st8OT-000q5U-De for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2024 16:28:06 +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 48OGRxOw3361178; Tue, 24 Sep 2024 12:27:59 -0400 From: Tom Lane To: Christoph Berg cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Improve default and empty privilege outputs in psql. In-reply-to: References: Comments: In-reply-to Christoph Berg message dated "Tue, 24 Sep 2024 17:14:42 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3361176.1727195279.1@sss.pgh.pa.us> Date: Tue, 24 Sep 2024 12:27:59 -0400 Message-ID: <3361177.1727195279@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Christoph Berg writes: > Re: Tom Lane >> Improve default and empty privilege outputs in psql. > I'm sorry to report this when 17.0 has already been wrapped, but this > change is breaking `psql -l` against 9.3-or-earlier servers: > FEHLER: 42883: Funktion pg_catalog.cardinality(aclitem[]) existiert nicht Grumble. Well, if that's the worst bug in 17.0 we should all be very pleased indeed ;-). I'll see about fixing it after the release freeze lifts. > The psql docs aren't really explicit about which old versions are > still supported, but there's some mentioning that \d should work back > to 9.2: Yes, that's the expectation. I'm sure we can think of a more backwards-compatible way to test for empty datacl, though. regards, tom lane