Re: psql with "Function Type" in \df

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: tomas(at)tuxteam(dot)de
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, David Fetter <david(at)fetter(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: psql with "Function Type" in \df
Date: 2009-04-22 12:32:20
Message-ID: 200904221232.n3MCWK211262@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tomas(at)tuxteam(dot)de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Apr 21, 2009 at 01:26:33PM -0400, Bruce Momjian wrote:
>
> [...]
>
> > I merged the entries into one line:
> >
> > \df[antwS+] [PATTERN] list (only agg/normal/trigger/window) functions
> >
> > I didn't feel I had room to do [][] like Alvaro suggested. I also went
> > with parntheses in the description. Are brackets better there?
>
> FWIW brackets let the reader see better the correspondence between left and
> right.

True, but the problem is that the brackets don't correspond. There are
two brackets on the left, options and "Pattern", and "S+" in the left
bracket is not related to the "only" options. If we had used braces:

\df{antw}[S+] [PATTERN] list {only agg/normal/trigger/window} functions

that would make sense, but we don't have space nor are braces logically
correct for this usage.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-04-22 12:33:31 Re: Workaround for bug #4608?
Previous Message K, Niranjan (NSN - IN/Bangalore) 2009-04-22 12:21:46 Synch Replication: Synchronization of files between Primary & Standby