Re: Consistent \d commands in psql - Mailing list pgsql-patches

From Tom Lane
Subject Re: Consistent \d commands in psql
Date
Msg-id 20510.1207025924@sss.pgh.pa.us
Whole thread Raw
In response to Re: Consistent \d commands in psql  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Consistent \d commands in psql  (David Fetter <david@fetter.org>)
List pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
>>> One --perhaps nice, perhaps not-- property of this is that if you defined a
>>> function named "rtrim" and then did "\df rtrim" it would show you _both_ the
>>> system and user function and make it easier to see the conflict. Whereas the
>>> other behaviour I proposed would hide the system function which might
>>> exacerbate the user's confusion.

>> Another way we could approach this is
>> ...

> That doesn't satisfy the original source of the annoyance which is that \df
> spams your terminal with ten screens of system functions with your user
> functions hidden amongst them.

Sure, but I think the core objection there is that there is no easy way
to see only the user-defined functions.  Given your point quoted first
above, I'm unconvinced that should be the default behavior.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Alex Hunsaker"
Date:
Subject: Re: [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]
Next
From: Mathias Hasselmann
Date:
Subject: Re: [HACKERS] Avahi support for Postgresql