pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: lr@pcorp.us <lr@pcorp.us>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12792: I can do a SELECT with no fields
Date: Fri, 20 Feb 2015 15:20:54 +0000 (UTC)
Message-ID: <1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <20150220150844.8729.17005@wrigleys.postgresql.org>
References: <20150220150844.8729.17005@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

"lr@pcorp.us" <lr@pcorp.us> wrote:

> I'm not sure if this is a bug or not,

It it's not.  See the release notes:

http://www.postgresql.org/docs/9.4/interactive/release-9-4.html

| Allow SELECT to have an empty target list (Tom Lane)
|
| This was added so that views that select from a table with zero
| columns can be dumped and restored correctly.

For a more detailed explanation of why this feature was added, see
the commit message:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=1b4f7f93b4693858cb983af3cd557f6097dab6...

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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



view thread (3+ messages)

Message-ID: <1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com>
Permalink:  ../1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com/
Also on:    postgresql.org/message-id/1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com

 · 

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-bugs@postgresql.org
  Cc: kgrittn@ymail.com, lr@pcorp.us
  Subject: Re: BUG #12792: I can do a SELECT with no fields
  In-Reply-To: <1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com>
  References: <20150220150844.8729.17005@wrigleys.postgresql.org> <1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com>

* 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