Re: "alter sequence" equivilant in 7.2?

Поиск
Список
Период
Сортировка
От Shea Martin
Тема Re: "alter sequence" equivilant in 7.2?
Дата
Msg-id Xc9zc.754252$Ig.282651@pd7tw2no
обсуждение исходный текст
Список pgsql-general
Shea Martin wrote:
> I am moving my database from a machine running 7.4 to a machine running
> 7.2.  My sequences are not out of wack, is there a way to set the
> current value of a sequence? I though ALTER SEQUENCE would work but it
> does not exist in version 7.2.
>
> Thanks,
>
> ~S

I honestly did to google before posting the above.  But couldn't find anything.
  But I just found this, which did exactly what I wanted:

SOLUTION:

select setvalue('post_id_seq', 234134);


~S

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

Предыдущее
От: "Stanislaw Tristan"
Дата:
Сообщение: Limit connections per user
Следующее
От: Shea Martin
Дата:
Сообщение: "alter sequence" equivilant in 7.2?