Re: Making serial survive pg_dump

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Making serial survive pg_dump
Дата
Msg-id GNELIHDDFBOCMGBFGEFOGEMCCCAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Making serial survive pg_dump  (Joe Conway <mail@joeconway.com>)
Список 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?

Chris



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Making serial survive pg_dump
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Default privileges for new databases (was Re: Can't import