psql omits row count under "\x auto"

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: peter_e(at)gmx(dot)net
Subject: psql omits row count under "\x auto"
Date: 2012-04-23 16:30:03
Message-ID: 20120423163003.GB20512@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've been enjoying "\x auto" in .psqlrc, but I noticed the row count footer
missing when it chooses ordinary output:

[local] test=# \x off
Expanded display is off.
[local] test=# select 1;
?column?
----------
1
(1 row)

[local] test=# \x auto
Expanded display is used automatically.
[local] test=# select 1;
?column?
----------
1

[local] test=#

Looks like the logic in printQuery() needs further treatment.

Thanks,
nm

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ants Aasma 2012-04-23 17:34:44 Re: Gsoc2012 idea, tablesample
Previous Message Andrew Dunstan 2012-04-23 16:09:43 Re: [HACKERS] Namespace of array of user defined types is confused by the parser in insert?