psql omits row count under "\x auto"
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: pgsql-hackers@postgresql.org
Cc: peter_e@gmx.net
Date: 2012-04-23T16:30:03Z
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