Re: problem with sequence PostgreSQL 7.3.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problem with sequence PostgreSQL 7.3.4
Дата
Msg-id 372.1100298358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на problem with sequence PostgreSQL 7.3.4  (Betsy Barker <betsy.barker@supportservicesinc.com>)
Ответы Re: problem with sequence PostgreSQL 7.3.4
Список pgsql-novice
Betsy Barker <betsy.barker@supportservicesinc.com> writes:
> I am using PostgreSQL 7.3.4 and have noticed something odd while using
> a sequence. After using 3000 values, I seem to be getting a duplicate.

I don't think I'm going to believe that without seeing a complete test
case.  It seems much more likely that there's a bug in your program.

The cache_value setting of 1000 seems awfully high; that would very
likely cause odd behavior in terms of values being skipped or not being
handed out in sequence.  But I've not heard of any problems that could
cause generation of duplicates (at least not since 7.2.1, and even that
bug only surfaced during a database crash).

            regards, tom lane

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

Предыдущее
От: Betsy Barker
Дата:
Сообщение: problem with sequence PostgreSQL 7.3.4
Следующее
От: Betsy Barker
Дата:
Сообщение: Re: problem with sequence PostgreSQL 7.3.4