Re: Unique constraint violation on serial column

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Unique constraint violation on serial column
Дата
Msg-id 20050412155601.GH17283@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Unique constraint violation on serial column  (Bill Chandler <billybobc1210@yahoo.com>)
Список pgsql-general
On Tue, Apr 12, 2005 at 08:48:15AM -0700, Bill Chandler wrote:

> How does one find out the current sequence value?  Is
> there a way to change it?

Using the function setval() you can change it.  SELECT * from
sequencename to find out.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Si quieres ser creativo, aprende el arte de perder el tiempo"

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

Предыдущее
От: Bill Chandler
Дата:
Сообщение: Re: Unique constraint violation on serial column
Следующее
От: Bill Chandler
Дата:
Сообщение: Re: Unique constraint violation on serial column