Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Fri, 25 Nov 2005 20:25:55 -0300
  • Message-id: <20051125232554(dot)GC23668(at)surnet(dot)cl>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group