Re: dropping sequences

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dropping sequences
Дата
Msg-id 11270.1056060281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dropping sequences  (Erik Price <eprice@ptc.com>)
Ответы Re: dropping sequences  (Erik Price <eprice@ptc.com>)
Список pgsql-general
Erik Price <eprice@ptc.com> writes:
> So, is the solution to drop the column first, then drop the sequence,
> then re-create the column by using ALTER TABLE ?

Perhaps what you are really looking to do is just to reset the sequence
counters with setval() ?

            regards, tom lane

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

Предыдущее
От: Erik Price
Дата:
Сообщение: dropping sequences
Следующее
От: Erik Price
Дата:
Сообщение: Re: dropping sequences