Re: TRUNCATE TABLE with IDENTITY

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: TRUNCATE TABLE with IDENTITY
Дата
Msg-id 47E92388.2000404@pinpointresearch.com
обсуждение исходный текст
Ответ на TRUNCATE TABLE with IDENTITY  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: TRUNCATE TABLE with IDENTITY  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> RESTART IDENTITY will reset the SERIAL sequences back to the original
> start value.
>   
Assuming this feature were to be added....

In cases where the same sequence has been used across multiple tables, 
what will be the appropriate response when a user attempts to TRUNCATE 
one of those tables with RESTART IDENTITY?

Cheers,
Steve



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: TRUNCATE TABLE with IDENTITY
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: GiST opclass and varlena