Re: BUG #18324: Duplicate value when I insert values in PK column

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #18324: Duplicate value when I insert values in PK column
Дата
Msg-id CAKFQuwb0v_zfb+Wz0KD5_ZowHTc4=RFpfE_1+rXBZk6E-cWp4w@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #18324: Duplicate value when I insert values in PK column  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
On Friday, February 2, 2024, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      18324
Logged by:          Mael Villat
Email address:      mael.villat@gmail.com
PostgreSQL version: 16.1
Operating system:   Windows Server
Description:       

Most of the time we don't have this issue. And the sequence is correct
(sequence = max id value). I'm sure that nobody insert manuel id.
So I believe that there is a concurrency issue in postgresql server with the
sequence when we insert a value.


Given that nearly everyone uses generated keys the lack of reports regarding this issue reduces the believability that the bug is in the server versus something related to your environment.  It also means that a test case that demonstrates the problem, required so it can be addressed, more likely than not will need to come from you.

David J.

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18324: Duplicate value when I insert values in PK column
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: BUG #18324: Duplicate value when I insert values in PK column