BUG #17187: Incorrect field update operation?

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17187: Incorrect field update operation?
Дата
Msg-id 17187-de6bd7e22852652f@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17187
Logged by:          Vladimir
Email address:      bugagans@gmail.com
PostgreSQL version: 12.8
Operating system:   Ubuntu 18.04
Description:

Hello. 
Yesterday I've try to mass update one of table in my database and found
strange behavior. Some requests work correct, but some update many another
rows in table. For example, this request was update 77 rows:
UPDATE items SET snmp_oid = 'PLANAR-itm18-MIB::mer.34'  WHERE hostid='10460'
AND snmp_oid = 'PLANAR-itm18-MIB::mer.33';
But key PLANAR-itm18-MIB::mer.33 is unique.
When I've update table by another unique key (itemid), it's work fine.


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17186: In connect.c, the lock connections_mutex is not correctly released(Line 463) at the return(Line 522)
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17188: Multiple rows are present with same values on a unique column