BUG #6300: duplicate key value violates unique constraint

Поиск
Список
Период
Сортировка
От Tigran Mkrtchyan
Тема BUG #6300: duplicate key value violates unique constraint
Дата
Msg-id 201111181642.pAIGgaLY007885@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6300: duplicate key value violates unique constraint
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      6300
Logged by:          Tigran Mkrtchyan
Email address:      tigran.mkrtchyan@desy.de
PostgreSQL version: 9.0.4
Operating system:   Linux x86_64
Description:        duplicate key value violates unique constraint
Details:

Hi,

our application uses PostgreSQL as a backend and heavily
relays on transactions. We never check constrains in our application as DB
does is better than we can an in an atomic way. This works very-very good!
Nevertheless the logfiles are full of 'duplicate key value violates unique
constraint'. I have two questions:

1. why it logged with ERROR level as it clients application behavior.

2. is there a way to suppress it or could you add a way to suppress it.


Thanks a lot,
   Tigran.

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