Re: psql with "Function Type" in \df - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql with "Function Type" in \df
Date
Msg-id 20090422144415.GY10358@alvh.no-ip.org
Whole thread Raw
In response to Re: psql with "Function Type" in \df  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql with "Function Type" in \df
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > If I can get someone else to say they prefer brackets over parentheses in
> > \? I will make the change.  Right now we have:
> 
> >    \df[antwS+] [PATTERN]  list (only agg/normal/trigger/window) functions
> 
> > With brackets it would be:
> 
> >    \df[antwS+] [PATTERN]  list [only agg/normal/trigger/window] functions
> 
> Yes, the brackets in the text match up with the brackets in the syntax,
> so I think this looks more sensible.

Still, my original proposal was \df[antw][S+].  The extra brackets are
obviously redundant, but if we're about providing cues, this is a good
cue IMO.  It allows the [S+] to match the other lines.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql with "Function Type" in \df
Next
From: Tom Lane
Date:
Subject: Re: psql with "Function Type" in \df