Re: psql \d* and system objects - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql \d* and system objects
Date
Msg-id 3301.1238423355@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql \d* and system objects  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: psql \d* and system objects
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> That still has the problem that "\df a*" is horribly inconsistent with
> "\df".  It might be reasonable to assume that if a name without
> wildcards is given to any \d command, it should display whatever
> object it finds, user or system - but I can't see doing it for any
> wildcard at all.

Why not?  Seems "horribly inconsistent" to me to treat those cases
differently.

It seems entirely explainable to me to say that "if you specify
no pattern, the default behavior is to list all non-system functions".
Where the patch went wrong is in fooling with the behavior when a
pattern is specified.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql \d* and system objects
Next
From: Tom Lane
Date:
Subject: Re: PQinitSSL broken in some use casesf