psql output change in 9.4

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: psql output change in 9.4
Date: 2014-08-09 01:34:22
Message-ID: 1407548062.13736.7.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This is 9.3:

peter=# \a
Output format is unaligned.
peter=# \a
Output format is aligned.
peter=# \x
Expanded display is on.
peter=# \x
Expanded display is off.

This is new in 9.4:

peter=# \a
Output format (format) is unaligned.
peter=# \a
Output format (format) is aligned.
peter=# \x
Expanded display (expanded) is on.
peter=# \x
Expanded display (expanded) is off.

What is the point of that change?

I suppose it is so that you can use \pset without arguments to show all
settings:

peter=# \pset
Border style (border) is 1.
Target width (columns) unset.
Expanded display (expanded) is off.
...

But those are unrelated features, and the changed output doesn't make
any sense in the contexts I show above.

I think this should be reverted, and the \pset output should be
implemented separately.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-08-09 01:34:27 Re: Hokey wrong versions of libpq in apt.postgresql.org
Previous Message Tom Lane 2014-08-09 01:33:24 Re: jsonb format is pessimal for toast compression