Re: proposal: psql concise mode - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: proposal: psql concise mode
Date
Msg-id 1320760385-sup-6447@alvh.no-ip.org
Whole thread Raw
In response to Re: proposal: psql concise mode  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: proposal: psql concise mode
List pgsql-hackers
Excerpts from Robert Haas's message of mar nov 08 01:25:31 -0300 2011:

> But I can't help feeling that as we continue to add more features,
> we've eventually going to end up with our backs to the wall.  Not sure
> what to do about that, but...

What I've imagined for a long time is psql being able to display each
row in more than one line; for example something like

\df
                      Listado de funcionesEsquema |      Nombre       | Tipo de dato de salida | TipoTipos de datos de
argumentos
           
 

---------+-------------------+------------------------+--------------------------------------------------------------------------------------public
| bt_metap          | record                 | normalrelname text, OUT magic integer, OUT version integer, OUT root
integer,OUT level integer, OUT fastroot integer, OUT fastlevel integer      
 

---------+-------------------+------------------------+--------------------------------------------------------------------------------------public
| bt_page_items     | SETOF record           | normalrelname text, blkno integer, OUT itemoffset smallint, OUT ctid
tid,OUT itemlen smallint, OUT nulls boolean, OUT vars boolean, OUT data text
 

---------+-------------------+------------------------+--------------------------------------------------------------------------------------

So it's not as horizontally-wasteful as expanded, but it's much more
readable than aligned.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Disable OpenSSL compression
Next
From: Robert Haas
Date:
Subject: Re: synchronous commit vs. hint bits