Re: Insert into a table with only a SERIAL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Insert into a table with only a SERIAL
Дата
Msg-id 11893.961990077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Insert into a table with only a SERIAL  (<felix@crowfix.com>)
Ответы Re: Insert into a table with only a SERIAL
Список pgsql-general
<felix@crowfix.com> writes:
> I can't insert into aaa unless I pass a value; these don't work:

>   insert into aaa;
>   insert into aaa values ();
>   insert into aaa () values ();

"INSERT INTO aaa DEFAULT VALUES" is the SQL-approved verbiage.

(Hey, I didn't design this language ;-))

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL INSERT bug with 6.5.3 and 7.0.2
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: SQL INSERT bug with 6.5.3 and 7.0.2