Re: proposal: psql concise mode

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, Dickson S(dot) Guedes <listas(at)guedesoft(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: psql concise mode
Date: 2011-11-08 14:02:33
Message-ID: 1320760385-sup-6447@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 funciones
Esquema | Nombre | Tipo de dato de salida | Tipo
Tipos de datos de argumentos
---------+-------------------+------------------------+--------------------------------------------------------------------------------------
public | bt_metap | record | normal
relname 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 | normal
relname 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-11-08 14:09:09 Re: synchronous commit vs. hint bits
Previous Message Albe Laurenz 2011-11-08 13:59:01 Disable OpenSSL compression