pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: bugagans@gmail.com
Subject: BUG #17187: Incorrect field update operation?
Date: Fri, 10 Sep 2021 08:57:56 +0000
Message-ID: <17187-de6bd7e22852652f@postgresql.org> (raw)

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.



Message-ID: <17187-de6bd7e22852652f@postgresql.org>
Permalink:  ../17187-de6bd7e22852652f@postgresql.org/
Also on:    postgresql.org/message-id/17187-de6bd7e22852652f@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, bugagans@gmail.com
  Subject: Re: BUG #17187: Incorrect field update operation?
  In-Reply-To: <17187-de6bd7e22852652f@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox