Re: SHOW ALL output too wide

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: SHOW ALL output too wide
Дата
Msg-id 20051125232554.GC23668@surnet.cl
обсуждение исходный текст
Ответ на Re: SHOW ALL output too wide  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: SHOW ALL output too wide  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: SHOW ALL output too wide  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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


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

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: Re: SHOW ALL output too wide
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: SHOW ALL output too wide