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.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support