pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13429: Update 0 rows for matching record
2+ messages / 2 participants
[nested] [flat]

* BUG #13429: Update 0 rows for matching record
@ 2015-06-10 16:19  smoola@travelclick.com
  0 siblings, 1 reply; 2+ messages in thread

From: smoola@travelclick.com @ 2015-06-10 16:19 UTC (permalink / raw)
  To: pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13429: Update 0 rows for matching record
@ 2015-06-10 17:10  David G. Johnston <david.g.johnston@gmail.com>
  parent: smoola@travelclick.com
  0 siblings, 0 replies; 2+ messages in thread

From: David G. Johnston @ 2015-06-10 17:10 UTC (permalink / raw)
  To: smoola@travelclick.com; +Cc: pgsql-bugs

On Wed, Jun 10, 2015 at 12:19 PM, <smoola@travelclick.com> wrote:

> 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
>
>
​This is not likely to be a bug but in any case if you are not able to
supply a self-contained test case, or the actual schema involved, figuring
out where you likely have a problem is going to be difficult.

As a first stab: are there any triggers on "yrd_yield_room_details"?

​David J.​

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-06-10 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 16:19 BUG #13429: Update 0 rows for matching record smoola@travelclick.com
2015-06-10 17:10 ` David G. Johnston <david.g.johnston@gmail.com>

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