Re: gen_random_uuid key collision

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: gen_random_uuid key collision
Дата
Msg-id a453d48d-0f98-8ed6-df47-9c94749ac632@aklaver.com
обсуждение исходный текст
Ответ на gen_random_uuid key collision  (jesusthefrog <jesusthefrog@gmail.com>)
Ответы Re: gen_random_uuid key collision  (jesusthefrog <jesusthefrog@gmail.com>)
Список pgsql-general
On 9/2/21 4:25 PM, jesusthefrog wrote:
> Hello, I'm hoping someone might be able to shed a little light on a 
> strange situation I encountered recently.

> 
> Most of the time this is fine, but one specific table has recently 
> started repeatedly having inserts fail because of a unique constraint 
> violation involving the primary key. The table only has ~10,000 rows, 
> but I'll sometimes see two or three collisions in a single day. No other 
> table (even those with many, many more rows) exhibit this issue.

What is the table schema as returned by \d <table> in psql?

> Anyone have any thoughts on this?
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: jesusthefrog
Дата:
Сообщение: gen_random_uuid key collision
Следующее
От: jesusthefrog
Дата:
Сообщение: Re: gen_random_uuid key collision