Re: bigserial coloumn

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: bigserial coloumn
Дата
Msg-id 1116941232.31821.249.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на bigserial coloumn  ("Surabhi Ahuja " <surabhi.ahuja@iiitb.ac.in>)
Список pgsql-general
On Tue, 2005-05-24 at 00:13, Surabhi Ahuja wrote:
> I have a table in which one attribute "id" is a bigserial
>
> when i say
> select setval('table_id_seq', 0);
> it says: values 0 is out of bounds.
> what should i do?

IS that what you really want, or do you just want the first assignment
to be a 1?

If so, then just do setval('table_id_seq', 1, FALSE);

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

Предыдущее
От: Jerome Macaranas
Дата:
Сообщение: Re: Need input on postgres used for phpBB
Следующее
От: James Croft
Дата:
Сообщение: PostgreSQL release schedule