Re: pg14 psql broke \d datname.nspname.relname - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: pg14 psql broke \d datname.nspname.relname
Date
Msg-id 20220408030444.GH24419@telsasoft.com
Whole thread Raw
In response to Re: pg14 psql broke \d datname.nspname.relname  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Thu, Apr 07, 2022 at 10:26:18PM -0400, Robert Haas wrote:
> +               pg_log_error("improper relation name (too many dotted names): %s", pattern);
> 
> Come to think of it, maybe the error text there could stand some
> bikeshedding, but AFAICS

AFAICT the error text deliberately matches this, which I mentioned seems to me
the strongest argument for supporting \d datname.nspname.relname

ts=# SELECT 'a.a.a.a'::regclass;
ERROR:  42601: improper relation name (too many dotted names): a.a.a.a
LINE 1: SELECT 'a.a.a.a'::regclass;
               ^
LOCATION:  makeRangeVarFromNameList, namespace.c:3129



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Windows now has fdatasync()
Next
From: Greg Stark
Date:
Subject: Re: pg14 psql broke \d datname.nspname.relname