Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)
Date: 2014-05-02 03:57:04
Message-ID: CA+HiwqHJcqOjQHEdKpAv8B-pnwCGijLZzS1uLGWk0qaAZgmzTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I
​s the following behavior perceived fix-worthy?

-- note the
​'​
​1's
in the output
​s

​po​
stgres=# CREATE TABLE test AS SELECT;
SELECT 1

postgres=# insert into test select;
INSERT 0 1​

​My guess why ​this happens is because changes made in the commit in
$SUBJECT only pertain to fixing syntax errors and nothing else.

--
Amit

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2014-05-02 04:30:25 Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)
Previous Message Tom Lane 2014-05-02 03:07:51 Re: Obsolete coding in fork_process.c