From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | bugagans(at)gmail(dot)com |
Subject: | BUG #17187: Incorrect field update operation? |
Date: | 2021-09-10 08:57:56 |
Message-ID: | 17187-de6bd7e22852652f@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17187
Logged by: Vladimir
Email address: bugagans(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2021-09-10 10:05:19 | BUG #17188: Multiple rows are present with same values on a unique column |
Previous Message | Michael Paquier | 2021-09-10 07:07:26 | Re: BUG #17186: In connect.c, the lock connections_mutex is not correctly released(Line 463) at the return(Line 522) |