pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thom Brown <thom@linux.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Allow empty target list in SELECT.
Date: Tue, 24 Mar 2015 21:04:40 -0400
Message-ID: <20150325010440.GG19256@momjian.us> (raw)
In-Reply-To: <20150320122550.GH6317@momjian.us>
References: <E1Vs0Qu-0004bC-6E@gemulon.postgresql.org>
	<CAA-aLv4mBXOgbSBPhLPa7sqS6PryihFFb_pzQ7Ue07Oci5g3sQ@mail.gmail.com>
	<27441.1414007839@sss.pgh.pa.us>
	<CAA-aLv7SjOkt-09Fh8gwh_YQD3B4EcAxzLh7XLyeh9tvKtMwHw@mail.gmail.com>
	<CAA-aLv47DpdU5HToNQGuw6Zh74BXU3poACW=nH_FK4qmc73N+w@mail.gmail.com>
	<28123.1414009150@sss.pgh.pa.us>
	<20150320122550.GH6317@momjian.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On Fri, Mar 20, 2015 at 08:25:50AM -0400, Bruce Momjian wrote:
> > regression=# create table foo();
> > CREATE TABLE
> > regression=# insert into foo default values;
> > INSERT 0 1
> > regression=# insert into foo default values;
> > INSERT 0 1
> > regression=# select * from foo;
> > --
> > (2 rows)
> > 
> > regression=# \x on  
> > Expanded display is on.
> > regression=# select * from foo;
> > (No rows)
> 
> I have developed a patch to fix this, e.g.:
> 
> 	test=> select * from foo;
> 	--
> 	(2 rows)
> 	
> 	test=> \x
> 	Expanded display is on.
> 	test=> select * from foo;
> 	(2 rows)
> 
> I used the same footer function every other output format was using. 
> Patch attached.

Patch applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (9+ messages)  latest in thread

Message-ID: <20150325010440.GG19256@momjian.us>
Permalink:  ../20150325010440.GG19256@momjian.us/
Also on:    postgresql.org/message-id/20150325010440.GG19256@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, thom@linux.com
  Subject: Re: pgsql: Allow empty target list in SELECT.
  In-Reply-To: <20150325010440.GG19256@momjian.us>
  References: <E1Vs0Qu-0004bC-6E@gemulon.postgresql.org> <CAA-aLv4mBXOgbSBPhLPa7sqS6PryihFFb_pzQ7Ue07Oci5g3sQ@mail.gmail.com> <27441.1414007839@sss.pgh.pa.us> <CAA-aLv7SjOkt-09Fh8gwh_YQD3B4EcAxzLh7XLyeh9tvKtMwHw@mail.gmail.com> <CAA-aLv47DpdU5HToNQGuw6Zh74BXU3poACW=nH_FK4qmc73N+w@mail.gmail.com> <28123.1414009150@sss.pgh.pa.us> <20150320122550.GH6317@momjian.us> <20150325010440.GG19256@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox