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
---123
(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
On 1/30/14, 10:44 AM, Erik Rijkers wrote:
> This seems wrong: in HEAD, an empty select list does *not* generate a error warning anymore:
This is intentional, see 1b4f7f93b4693858cb983af3cd557f6097dab67b
Regards,
Marko Tiikkaja
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.