Re: BUG #5809: bigserial duplicate value

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: BUG #5809: bigserial duplicate value
Дата
Msg-id 1294081457.22634.8.camel@jdavis-ux.asterdata.local
обсуждение исходный текст
Ответ на BUG #5809: bigserial duplicate value  ("mahmoud elzaiady" <melzaiady@yahoo.co.uk>)
Ответы Re: BUG #5809: bigserial duplicate value  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-bugs
On Sun, 2011-01-02 at 11:40 +0000, mahmoud elzaiady wrote:
> The following bug has been logged online:
>
> Bug reference:      5809
> Logged by:          mahmoud elzaiady
> Email address:      melzaiady@yahoo.co.uk
> PostgreSQL version: 8.4
> Operating system:   windows xp
> Description:        bigserial duplicate value
> Details:
>
> I have problem today
> i have table and colum type bigserial
> and insert data automatic number
> but i found the value duplicate
> i ask ,bigserial must not duplicate the value ?
> how solve this problem

This is probably due to the sequence being reset somehow. Have you
dumped/reloaded recently? Did you manually back up or copy the table?

What is the exact error message that you see? If it tells you the
duplicated value, is it very old, perhaps 1 (indicating a reset of the
sequence)?

Note that, by "reset", I do not mean "overflow". I mean that the
sequence might have been recreated somehow.

Try to provide more detail in your bug report. See:
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

Regards,
    Jeff Davis

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #5811: Installation error
Следующее
От: "Jean-Baptiste Veslin"
Дата:
Сообщение: BUG #5812: ecpg problem with array of varchar when using dimension name with length > 12