Re: psql with "Function Type" in \df

From: David Fetter <david(at)fetter(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql with "Function Type" in \df
Date: 2009-04-14 16:51:54
Message-ID: 20090414165154.GO16310@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 14, 2009 at 12:35:21PM -0400, Tom Lane wrote:
> David Fetter <david(at)fetter(dot)org> writes:
> > On Mon, Apr 13, 2009 at 07:24:31PM -0400, Tom Lane wrote:
> >> I'd go for something like
> >>
> >> Type
> >>
> >> window
> >> agg
> >> trigger
> >> normal
> >>
> >> Or we could spell out "aggregate", but that makes the column a
> >> couple of characters wider ...
>
> > Done.
>
> I had a second thought about that: presumably we should make the
> function type names translatable. If we do that, it might be better
> to make the aggregate case be "aggregate" and take the width hit.
> Otherwise translators are going to be puzzled when they come across
> "agg" as a translatable phrase.

OK

> Or maybe I'm overthinking that problem. Comments from anyone who
> actually does translations?
>
> > I've also added \df[antw], which lets people narrow their search.
>
> Why didn't you make it work like \d[tisv], ie allow more than one
> letter? If you're going to be inventing new features at this late
> date, they should at least work like the adjacent precedent.

Because I didn't think of it. Lemme see about that :)

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-04-14 17:12:11 Re: Unicode support
Previous Message Tom Lane 2009-04-14 16:35:21 Re: psql with "Function Type" in \df