Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b) - Mailing list pgsql-hackers

From Amit Langote
Subject Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)
Date
Msg-id CA+HiwqHJcqOjQHEdKpAv8B-pnwCGijLZzS1uLGWk0qaAZgmzTw@mail.gmail.com
Whole thread Raw
Responses Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)  (Amit Langote <amitlangote09@gmail.com>)
Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)  (David Rowley <dgrowleyml@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Obsolete coding in fork_process.c
Next
From: Amit Langote
Date:
Subject: Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)