From: | emesika(at)redhat(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #7817: psql does not relate to footer settings in extended mode |
Date: | 2013-01-20 10:33:37 |
Message-ID: | E1TwsDZ-0006JS-F7@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 7817
Logged by: Eli Mesika
Email address: emesika(at)redhat(dot)com
PostgreSQL version: 9.1.7
Operating system: Fedora 16
Description:
psql does not relate to footer settings in extended mode
Sometimes we need to run a sql command withot generating header and footer.
This can be done using the -t flag and --pset=footer=off
The problem is that the footer is still diaplyed even if it was set to off
if we use the extended mode for the query (-x flag)
Steps to Reproduce:
1) create a table without any data
for example
create table text(i int);
2) run
psql -U <user> -t --pset=footer=off <db>
3) No output is generated
4) run
psql -U <user> -t --pset=footer=off -x <db>
5) Output generated : "(No Rows)"
Actual results:
psql does not honour the footer settings when output is defined to be in
Extended Mode
Expected results:
psql should not generate any output is query has no results and -t and
--pset=footer=off were given
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-01-20 15:59:43 | Re: [BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables |
Previous Message | Magnus Hagander | 2013-01-20 10:26:19 | Re: BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables |