Re: Making serial survive pg_dump

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Making serial survive pg_dump
Дата
Msg-id 077e01c213f8$52575ef0$fe01a8c0@jester
обсуждение исходный текст
Ответ на Re: Making serial survive pg_dump  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
> > I think that when SERIAL is used, the sequence should be tied
> > inextricably to the table which created it, and it should be
hidden from
> > use for other purposes (perhaps similar to the way a toast table
is). If
> > you *want* to use a sequence across several tables, then you don't
use
> > SERIAL, you create a sequence.
>
> Agreed.  Maybe an extra column in pg_attribute or something?

Since no other sequence will depend on a column, I could base it on
that.



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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: FEATURE REQUEST - More dynamic date type?
Следующее
От: Rocco Altier
Дата:
Сообщение: Re: Non-standard feature request