This seems wrong: in HEAD, an empty select list does *not* generate a error 
warning anymore:

$ psql -X
psql (9.4devel_HEAD_20140130_0805_571addd)
Type "help" for help.

testdb=# create table t as select i from generate_series(1,3) as f(i);
SELECT 3
testdb=# select * from t;
 i
---
 1
 2
 3
(3 rows)

testdb=# select from t;
--
(3 rows)


Surely the behaviour of v9.3, which complains healthily with:

   ERROR:  syntax error at or near "from"
   LINE 1: select from t;

is to be preferred.

thanks,

Erik Rijkers








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

Reply via email to