Re: psql with "Function Type" in \df

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: psql with "Function Type" in \df
Дата
Msg-id 20090427174549.GO1539@fetter.org
обсуждение исходный текст
Ответ на Re: psql with "Function Type" in \df  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: psql with "Function Type" in \df  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Mon, Apr 27, 2009 at 01:31:11PM -0400, Alvaro Herrera wrote:
> 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.

The problem I see that argues for a refactor is the S option.  Short
of the refactor, how do I handle it?

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

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: True Blue
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: psql with "Function Type" in \df