Re: psql with "Function Type" in \df

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: David Fetter <david(at)fetter(dot)org>, Bruce Momjian <bruce(at)momjian(dot)us>, 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-21 16:19:57
Message-ID: 20090421161957.GP10358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin Grittner wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> > \df[S+] [PATTERN] list functions
> > \df[antwS+] [PATTERN] list only agg/normal/trigger/window functions
>
> Shouldn't that second line have some curly braces? Like maybe:
>
> \df{antw}[S+] [PATTERN] list only agg/normal/trigger/window functions
>
> Technically, it should probably be even more verbose, but this might
> be adequate.

I suggested this to Bruce over IM:

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

(one line only, removing the second redundant line). This seems
clea[nr]er to me. Bruce says it would confuse users. But really, if
you can understand the [S+] stuff you should be able to get the [antw]
stuff too, right?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vacuum 2009-04-21 16:23:28 Re: Automating Partitions in PostgreSQL - Query on syntax
Previous Message steven king 2009-04-21 16:17:43 Re: Automating Partitions in PostgreSQL - Query on syntax