Why forbid "INSERT INTO t () VALUES ();"

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Why forbid "INSERT INTO t () VALUES ();"
Дата
Msg-id alpine.DEB.2.22.394.2006241409070.2453952@pseudo
обсуждение исходный текст
Ответы Re: Why forbid "INSERT INTO t () VALUES ();"
Re: Why forbid "INSERT INTO t () VALUES ();"
Список pgsql-hackers
Hello devs,

I would like to create an "all defaults" row, i.e. a row composed of the 
default values for all attributes, so I wrote:

   INSERT INTO t() VALUES ();

This is forbidden by postgres, and also sqlite.

Is there any good reason why this should be the case?

-- 
Fabien.



В списке pgsql-hackers по дате отправления: