Re: PSQL schema "describe" \dn is not escaping quotes

From: surya poondla <suryapoondla4(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: Steven Niu <niushiji(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "jiaoshuntian(at)gmail(dot)com" <jiaoshuntian(at)gmail(dot)com>, "nishant(dot)sharma(at)enterprisedb(dot)com" <nishant(dot)sharma(at)enterprisedb(dot)com>, "jim(dot)jones(at)uni-muenster(dot)de" <jim(dot)jones(at)uni-muenster(dot)de>
Subject: Re: PSQL schema "describe" \dn is not escaping quotes
Date: 2026-10-16 11:17:39
Message-ID: CAOVWO5ohcMtXduc-yDW3ebSYhPvj4Q3eN7zKUMp2cnOdgredUQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Peter,

Thanks for v9. It applies cleanly on master, builds without warnings, and
make check passes.

I re-ran my edge cases against it. Names with embedded ', , "" and .,
quoted mixed case, the partially quoted "FOO"bar pattern, and a wildcard
matching a single schema all show the right footer. The numeric \dn 2200
and the over-long pattern no longer show a footer for the wrong schema.
Patterns matching several schemas print the plain list as before. Patterns
matching nothing now print just (0 rows); on master, unquoted \dn E_Mixed
and the over-long pattern both printed an empty list with the publications
of a schema that wasn't listed.

v9 looks good to me.

Regards,
Surya Poondla

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2026-10-16 11:19:36 Re: use radix tree for bitmap heap scan
Previous Message Jim Jones 2026-10-16 11:06:04 Re: Reject COPY TO of unlogged relations during recovery