Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxIAX-0007GI-DY for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 14:16:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxIAW-0006Z3-EX for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 14:16:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwsDe-0002XW-EJ for pgsql-bugs@postgresql.org; Sun, 20 Jan 2013 10:33:42 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwsDb-0008Vr-Gc for pgsql-bugs@postgresql.org; Sun, 20 Jan 2013 10:33:42 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwsDa-00071U-3h for pgsql-bugs@postgresql.org; Sun, 20 Jan 2013 10:33:38 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TwsDZ-0006JS-F7 for pgsql-bugs@postgresql.org; Sun, 20 Jan 2013 10:33:37 +0000 Date: Sun, 20 Jan 2013 10:33:37 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7817: psql does not relate to footer settings in extended mode To: pgsql-bugs@postgresql.org From: emesika@redhat.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7817 Logged by: Eli Mesika Email address: emesika@redhat.com PostgreSQL version: 9.1.7 Operating system: Fedora 16 Description:=20=20=20=20=20=20=20=20 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=3Dfooter=3Doff 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 -t --pset=3Dfooter=3Doff 3) No output is generated 4) run psql -U -t --pset=3Dfooter=3Doff -x 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=20 --pset=3Dfooter=3Doff were given --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs