Re: pg14 psql broke \d datname.nspname.relname
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Dilger <mark.dilger@enterprisedb.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, Robert Haas <robertmhaas@gmail.com>,
pgsql-hackers@postgresql.org
Date: 2021-10-11T22:37:17Z
Lists: pgsql-hackers
Mark Dilger <mark.dilger@enterprisedb.com> writes: >> On Oct 11, 2021, at 3:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Doesn't work with the correct DB name, either: >> regression=# \d regression.public.bit_defaults >> Did not find any relation named "regression.public.bit_defaults". > REL_13_STABLE appears to accept any amount of nonsense you like: Yeah, I'm pretty sure that the old rule was to just ignore whatever appeared in the database-name position. While we could tighten that up to insist that it match the current DB's name, I'm not sure that I see the point. There's no near-term prospect of doing anything useful with some other DB's name there, so being more restrictive seems like it'll probably break peoples' scripts to little purpose. regards, tom lane
Commits
-
Remove some recently-added pg_dump test cases.
- 75a006beef6c 14.3 landed
- a66e722cc118 15.0 landed
-
Allow db.schema.table patterns, but complain about random garbage.
- 4a66300acd8c 14.3 landed
- d2d35479796c 15.0 landed
-
Improve error handling of HMAC computations
- 5513dc6a304d 15.0 cited
-
Factor pattern-construction logic out of processSQLNamePattern.
- 2c8726c4b0a4 14.0 cited