Re: pgsql: Improve default and empty privilege outputs in psql.

2024-09-24 Thread Tom Lane
I wrote: > Yes, that's the expectation. I'm sure we can think of a more > backwards-compatible way to test for empty datacl, though. Looks like the attached should be sufficient. As penance, I tried all the commands in describe.c against 9.2 (or the oldest supported server version), and none of

Re: pgsql: Improve default and empty privilege outputs in psql.

2024-09-24 Thread Tom Lane
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[]) existie

Re: pgsql: Improve default and empty privilege outputs in psql.

2024-09-24 Thread Christoph Berg
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: $ /usr/lib/postgresql/17/bin/psql psql (17rc1 (Debian 17~rc1-1.pgdg+2), Server 9.3.25) Geben Sie ยป