Re: expanded \df+ display broken in beta4

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Paesold <mpaesold(at)gmx(dot)at>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: expanded \df+ display broken in beta4
Date: 2005-10-26 14:11:50
Message-ID: 200510261411.j9QEBok29255@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Michael Paesold wrote:
> Tom Lane wrote:
> > "Michael Paesold" <mpaesold(at)gmx(dot)at> writes:
> >
> >>Robert Treat wrote:
> >>
> >>>ISTM even a GUC to enable/disable would have been better scheme than
> >>>what we have now; we are basically leaving no options for those who
> >>>found the old behavior useful, while what we had before would at least
> >>>let people switch back and forth.
> >
> >
> >>I think Robert is right here and the new behaviour is a step backwards.
> >
> >
> > Should we revert the patch for the time being, and take another go at it
> > in 8.2?
>
> As the last option, if there is no quick fix, I'd say yes. Better than
> making an incomplete change now and revert that later to get a better
> solution.
>
> > Is it practical to have the old behavior for \df (and anything else with
> > particularly wide output) while still forcing \x off for \d?
>
> I think there are quite some ways to handle the problem:
> 1) \x to get the new behaviour, \xx or \x+ to get the new one.
>
> 2) Have \x+ or something automatically switch based on screen width.
>
> Other suggestions...
> Well, unfortunately, I guess now is not the time to discuss this for 8.1.

One idea is to hack \d not to honor \x, and let the others honor it.
That would probably hit most of the cases people will use in 8.1.

In fact, \d is pretty special because it is more of a group of outputs,
unlike \df, which is a single table output.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-26 14:13:36 Re: BUG #1993: Adding/subtracting negative time intervals
Previous Message Michael Paesold 2005-10-26 14:07:46 Re: expanded \df+ display broken in beta4

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Paesold 2005-10-26 14:48:05 Re: expanded \df+ display broken in beta4
Previous Message Michael Paesold 2005-10-26 14:07:46 Re: expanded \df+ display broken in beta4