Re: Problems with transactions and sequences

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Problems with transactions and sequences
Дата
Msg-id 20030829031157.GB5204@wolff.to
обсуждение исходный текст
Ответ на Re: Problems with transactions and sequences  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-general
On Thu, Aug 28, 2003 at 21:10:19 +0530,
  Shridhar Daithankar <shridhar_daithankar@persistent.co.in> wrote:
>
> Actually I have no idea if you can insert specific value in a serial field. I
> wouldn't be surprised if it works as intended but don't have a postgresql
> installation handy here. (Working in windows right now..)

Yes you can. Serial types are implemented using a default that gets a value
from a corresponding sequence. If you specify a value while inserting the
default won't get used.

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

Предыдущее
От: expect
Дата:
Сообщение: Re: How does it work
Следующее
От: "Jenny -"
Дата:
Сообщение: acquiring row and page level locks