Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group