Bug in psql - Mailing list pgsql-bugs

From Chris BSomething
Subject Bug in psql
Date
Msg-id CADrHaBEVSYwemoJWtry2+82KHy9tZirH2PVfi-uD96R5J8FCsw@mail.gmail.com
Whole thread Raw
List pgsql-bugs
In psql 17.2, if I do \? it says...

  \dE[S+] [PATTERN]      list foreign tables
  \des[+] [PATTERN]      list foreign servers
  \det[+] [PATTERN]      list foreign tables

notice the duplicate.

If I do \dES+, it is titled "list of relations"... whatever that means. It seems to be another list of foreign tables but with a different format. None of the other options have the same name in the help text, but different output. I'm not sure what the aim was here.

I also kind of feel like the name in the help text should always be the name you actually get. So for example, \ddS is described in help as "show object descriptions not displayed elsewhere" (BTW, why is this one "show" and the others are "list"), whereas the output is merely "object descriptions".

Most things in help are described as "list of... " and are titled on output "List of... " but it's not consistent. e.g. \dl is in help "list large objects", but on output is merely "large objects", 

Some are just wildly different, like \dp has help of "list table, view and sequence access privileges" but on output is just "access privileges" (and no "list of" again). And if I do \di "list indexes" the output is titled "List of relations". \dL is "list procedural languages" but on output is "list of languages". \dv in help is "list views" but on output is "List of relations".

Chris

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18735: Specific multibyte character in psql file path command parameter for Windows
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: BUG #18789: logical replication slots are deleted after failovers