Buggered Sequence

Поиск
Список
Период
Сортировка
От Jason C. Wells
Тема Buggered Sequence
Дата
Msg-id Pine.BSF.4.10.9912042058320.63812-100000@s8-37-26.student.washington.edu
обсуждение исходный текст
Список pgsql-general
sequence_name|last_value|increment_by| max_value|min_value|cache_value|is_cycled|is_called
-------------+----------+------------+----------+---------+-----------+---------+---------
people_id_seq|         4|           1|2147483647|        1|          1|f        |t
(1 row)


After I screwed up a pgdump and restore I finally got my data back into
the database. I have one little thing to fix. My sequence should be at
last_value='44'.

I tried to use update set last_value='44' but I wasn't allowed to change
the sequence as jcwells or as the pgsql superuser. How can I fix my
sequence?

Thank You,     | http://students.washington.edu/jcwells/
Jason Wells


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] postgres libpq library
Следующее
От: Jesse Kipp
Дата:
Сообщение: Re: [GENERAL] Buggered Sequence