Re: SHOW ALL output too wide

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SHOW ALL output too wide
Date: 2005-11-25 23:25:55
Message-ID: 20051125232554.GC23668@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> Alvaro Herrera wrote:
> > Bruce Momjian wrote:
> > > Dennis Bjorklund wrote:
> >
> > > > Actually, I'm going to implement a \show command and send to -patches and
> > > > then SHOW can even be deprecated (if we want). SHOW is just a command line
> > > > client command, that is implemented in the server. That is not how we
> > > > normally do things in pg (for example, we have \d instead of a server
> > > > DESCRIBE command).
> > >
> > > If you remove SHOW then applications/interfaces can't use it, which is
> > > bad.
> >
> > I think a \show would be nice, but deprecating SHOW is out of the
> > question. (The pg_settings view is a perfect replacement AFAICS but I
> > doubt we can get rid of the old interface.)
> >
> > OTOH, what's the relationship between \show and Martijn's wide output
> > patch? Maybe the problem can be solved in a different way.
>
> What does \show do that SHOW does not?

Well, nothing given that it isn't implemented yet :-) But if I
understood Dennis' proposal, the idea was that the output would be
nicely formatted instead of wrapping.

(I just noticed that Martijn's patch is not about auto-wrapping but
about displaying \n correctly, which is quite different. So while there
may be some common code it certainly is not the same thing.)

--
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 Alvaro Herrera 2005-11-25 23:27:48 Re: SHOW ALL output too wide
Previous Message Dennis Bjorklund 2005-11-25 23:24:02 Re: SHOW ALL output too wide