Re: psql with "Function Type" in \df

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql with "Function Type" in \df
Date: 2009-04-27 17:31:11
Message-ID: 20090427173111.GA10358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter wrote:
> On Mon, Apr 27, 2009 at 01:11:44PM -0400, Tom Lane wrote:

> > It seems like rather a large change to be making in beta. Can you
> > make a small patch that fixes the immediate problem, and leave the
> > refactoring for 8.5?
>
> The hack I've come up with short of the refactor is to duplicate a lot
> of the backslash handling code from command.c and describe.c. It
> doesn't strike me as being all that much less work than the refactor.

Tab completion has never been perfect. I don't think beta is the best
time to be improving it so much. I think a small patch that just adds
"\dfa", "\dfw" and appropriate pattern completions (i.e. it lists window
functions in \dfw, etc) should be enough for now, and let the big
refactoring loose in the 8.5 timeframe. If we don't support \dfaw in
8.4, tough world.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2009-04-27 17:43:24 Re: True Blue
Previous Message David Fetter 2009-04-27 17:18:43 Re: psql with "Function Type" in \df