Re: Updates failing yet saying they succeeded.

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Oliver Jones <oliver(at)deeper(dot)co(dot)nz>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Updates failing yet saying they succeeded.
Date: 2002-06-04 05:28:48
Message-ID: 20020603222816.V98598-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4 Jun 2002, Oliver Jones wrote:

> I've been having a few problems with PgSQL not updateing data
> correctly. Here is some evidence:
>
> autosupply_co_jp=> update vehicle set fob_price =420000 where
> chassis_number
> autosupply_co_jp-> = 'RA2-1002998';
> UPDATE 1
> autosupply_co_jp=> select fob_price from vehicle where chassis_number =
> 'RA2-1042998';
> fob_price
> -----------
> 430000
> (1 row)
>
> autosupply_co_jp=> update vehicle set fob_price = 420000 where
> chassis_number = 'RA2-1042998';
> UPDATE 1
> autosupply_co_jp=> select fob_price from vehicle where chassis_number =
> 'RA2-1042998';
> fob_price
> -----------
> 420000
> (1 row)
>
> WTF is up with that?

Is that a copy/paste error that the chassis numbers don't match in those
first statements?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Jones 2002-06-04 05:29:47 Re: Updates failing yet saying they succeeded.
Previous Message Tom Lane 2002-06-04 05:22:54 Re: Updates failing yet saying they succeeded.