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?
Re: Script to reset all sequence values in the a given DB?
Список 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 по дате отправления: