Script to reset all sequence values in the a given DB?

Поиск
Список
Период
Сортировка
От Nathan Wilhelmi
Тема Script to reset all sequence values in the a given DB?
Дата
Msg-id 475D9AEC.4090100@ucar.edu
обсуждение исходный текст
Ответ на Re: partitioned table query question  (Vivek Khera <vivek@khera.org>)
Ответы Re: Script to reset all sequence values in the a given DB?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: Script to reset all sequence values in the a given DB?  (Vivek Khera <khera@kcilink.com>)
Список pgsql-general
Hello - Does anyone happen to have a SQL script or function that can
reset all the sequence values found in a given DB? When we rebuild the
DB it would be handy to be able to set all the sequence back to a known
starting place.

Thanks!

-Nate


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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: partitioned table query question
Следующее
От: "Rodrigo De León"
Дата:
Сообщение: Re: TIMESTAMP difference