Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YOpOd-0000wx-9o for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Feb 2015 15:21:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YOpOc-0007Fo-MJ for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Feb 2015 15:21:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YOpOb-0007Fi-Ss for pgsql-bugs@postgresql.org; Fri, 20 Feb 2015 15:21:38 +0000 Received: from nm2-vm5.bullet.mail.ne1.yahoo.com ([98.138.91.224]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YOpOX-0003mP-Gd for pgsql-bugs@postgresql.org; Fri, 20 Feb 2015 15:21:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1424445690; bh=lwsAoXRo75qalI91u45n+OwiIIbP8doRrg6AB07wVXg=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=DxiMbc/aUfsVE4Cc3VtfQOppscPAER01wnLogjyeogTpueBuYFyFm5h5PeADG8fMUWOMfalp3IiOfC7Elj1YnGwsCR9yGUqKn0Mbunpmo/lckGy/3ZXftviO9EaUTIeFUMfhJ9NKlvV1YaSef95qjKoxdGCfP7UymeFvWlFjQQd2/YOkTPQcyy7+VNHg+efDsqkm2V5JaehZt+srw6UzA5fImk3/aqeqmkImATnLXaY1CK7DKgFeJm4YeJaJsXyy3A7dWsKQltGdAh/roNf2io7AY6jRM57r5kuVGfVq1LgGD62gw7Q2Q0orRbk+tbfRbpBpJjVISKStfvixMwbunQ== Received: from [98.138.100.115] by nm2.bullet.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 15:21:30 -0000 Received: from [98.138.88.234] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 15:21:30 -0000 Received: from [127.0.0.1] by omp1034.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 15:21:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 257350.2927.bm@omp1034.mail.ne1.yahoo.com X-YMail-OSG: jLcPvUMVM1nJ9O6wec6e13cV92TOHtKbboAGX8xFKfEP3qYskap6JzDvWORdWSw rtgIbw1gXyBxAzUZoAi.yaL7iDfr5J7mUa9tETd5yZ9qGJl1INF_IolbTvNvP4Pnxd.QVD8wJv2F mlW96yrPCVnmIRqnjo4QFWkjY9ij3kmNIvWFN1qKHu_hsnD2jHC1eJlPG1tgxY6m27IEGFCE.NBq g3TpUn9ZzWtsc_CWMvDz_F97acn4JzAs91KvEz201EtW.j2QPfPvSh1JBncmXrMIvHJYnLCrI86M KLD4rEEKX0E.jBZ3fs0gfEYW8ylzDRuIU86REPjk4F8jqbd_HI_QbLaZJ0Npc1_MQuBrAKgyCtbJ bXXn72h40dnwM8hVYOrKTPZlQCVLrvXD5kzhWzi3J.YitgCKYwfmuZlQxuH4R2HHJ9CHDJ8mFM0V CwjTH_SLFMrPcAGeZq6OW_fAQEhb6F.NYo7ythtiK_nMSVZk8jQQd2LyVJyvfwCiFkwxwzAuKmKj 2cdMdquRW0ZaLs6YlxBmBgCC2AD9TzrWGCRepW6EUqcEnI0ZEtLb5W6VWm.k_VVQAnO0bQjR_pNt teqtLGYoGt0n5q4qbRqHsoajGjLOXbkXtwjUg9PCeSaKl_qFOrMvIfHv0IoYSGA1ueHFKja3GvYF FmusAslTYZirtdsuLi6i20A-- Received: by 98.138.101.176; Fri, 20 Feb 2015 15:21:29 +0000 Date: Fri, 20 Feb 2015 15:20:54 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: "lr@pcorp.us" , "pgsql-bugs@postgresql.org" Message-ID: <1477540789.2804006.1424445654829.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20150220150844.8729.17005@wrigleys.postgresql.org> References: <20150220150844.8729.17005@wrigleys.postgresql.org> Subject: Re: BUG #12792: I can do a SELECT with no fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 629 X-Pg-Spam-Score: -2.0 (--) 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 "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=1b4f7f93b4693858cb983af3cd557f6097dab67b -- 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