BUG #17187: Incorrect field update operation? - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17187: Incorrect field update operation?
Date
Msg-id 17187-de6bd7e22852652f@postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #17186: In connect.c, the lock connections_mutex is not correctly released(Line 463) at the return(Line 522)
Next
From: PG Bug reporting form
Date:
Subject: BUG #17188: Multiple rows are present with same values on a unique column