Re: How to insert with a serial

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to insert with a serial
Дата
Msg-id 26357.1003787333@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to insert with a serial  ("Mitch Vincent" <mvincent@cablespeed.com>)
Список pgsql-general
"Mitch Vincent" <mvincent@cablespeed.com> writes:
> insert 'ing a NULL in place of the serial will work too, yes?
> INSERT INTO DEVICES (my_serial_id, name, type, ownerteamid) VALUES
> (NULL,'scoobydoo', 1, 43);

No, that'll insert a NULL.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: where are the memory leaks?
Следующее
От: Martin Weinberg
Дата:
Сообщение: Using an SMP machine to make multiple indices on the same table