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 20090427173111.GA10358@alvh.no-ip.org
Whole thread Raw
In response to Re: psql with "Function Type" in \df  (David Fetter <david@fetter.org>)
Responses Re: psql with "Function Type" in \df  (David Fetter <david@fetter.org>)
List 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


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: psql with "Function Type" in \df
Next
From: "Joshua D. Drake"
Date:
Subject: Re: True Blue