INSERT Issues

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема INSERT Issues
Дата
Msg-id 022c01c0be97$d1efd9b0$2205010a@jester
обсуждение исходный текст
Ответы Re: INSERT Issues
Re: INSERT Issues
Список pgsql-hackers
CREATE TABLE junk ( col SERIAL PRIMARY KEY
);

INSERT INTO junk (col) DEFAULT VALUES;

INSERT INTO junk DEFAULT VALUES:


Second insert works, first one fails.

INSERT INTO table [ ( column [, ...] ) ]   { DEFAULT VALUES | VALUES ( expression [, ...] ) | SELECT query }


The column list should just be ignored correct?

--
Rod Taylor

There are always four sides to every story: your side, their side, the
truth, and what really happened.

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

Предыдущее
От: "Rod Taylor"
Дата:
Сообщение: Foreign Key & Rule confusion RE: Lost Trigger(s)?
Следующее
От: "Rod Taylor"
Дата:
Сообщение: Re: Foreign Key & Rule confusion WAS: Lost Trigger(s)?