From: smoola@travelclick.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13429: Update 0 rows for matching record
Date: Wed, 10 Jun 2015 16:19:19 +0000
Message-ID: <20150610161919.2795.63005@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13429
Logged by: Sandeep Moola
Email address: smoola@travelclick.com
PostgreSQL version: 9.2.8
Operating system: Red Hat Enterprise Linux Server release 6.5
Description:
We were trying to update a record in our database as below and the row was
not getting updated. No error was shown neither on the command promt nor in
the logs
STEP1:
SELECT yrd_cuttoff FROM yrd_yield_room_details WHERE
yrd_yrd_key=10060451491;
yrd_cuttoff
-------------
N
(1 row)
STEP2:
UPDATE yrd_yield_room_details SET yrd_cuttoff='NC' WHERE
yrd_yrd_key=10060451491;
UPDATE 0
STEP3:
SELECT yrd_cuttoff FROM yrd_yield_room_details WHERE
yrd_yrd_key=10060451491;
yrd_cuttoff
-------------
N
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: smoola@travelclick.com
Subject: Re: BUG #13429: Update 0 rows for matching record
In-Reply-To: <20150610161919.2795.63005@wrigleys.postgresql.org>
References: <20150610161919.2795.63005@wrigleys.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