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

From Gregory Stark
Subject Re: Consistent \d commands in psql
Date
Msg-id 87abkd5fkh.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Consistent \d commands in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> "Brendan Jurd" <direvus@gmail.com> writes:
>> If I read Greg's latter proposal correctly, he was suggesting
>
>> \df Lists all user functions
>> \df [pattern] Lists both system and user functions matching [pattern]
>> \df * Lists all system and user functions
>
> Hmm, I must've misread it, because I didn't understand it quite like
> that.  That seems like a nice simple minimal-featuritis approach.

Sorry if was confusing but yes, that is what I intended by my second proposal.
I prefer it to my own first proposal or any of the others.

I admit I was thinking primarily of non-globbing cases for pattern. As in, I
would want \df rtrim to "work". I suppose it could be annoying to have to type
\df public.* -- there's nothing stopping us from having \dfU and \dfS too I
suppose, though I doubt most people would find them.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's RemoteDBA services!

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Consistent \d commands in psql
Next
From: Bruce Momjian
Date:
Subject: Re: script binaries renaming