UPDATE after Cancle - Mailing list pgsql-general

From David Kerr
Subject UPDATE after Cancle
Date
Msg-id 20100623200506.GF90301@mr-paradox.net
Whole thread Raw
Responses Re: UPDATE after Cancle
Re: UPDATE after Cancle
List pgsql-general
Howdy all -

I just got this odd behavior in my system.

This is PG 8.3.10 on RedHat 5.4

psql bla
bla=# update blatab set blafield = replace(blafield,'XXX-1','XXX1-')
where created_by = 'blauser';

<runs for a while>
<dave hit's ctl-c becuase i messed up the substitution value >

Cancel request sent
UPDATE 8231584

I checked and the updated did happen.

autocommit is on, and i wasn't in a TX or anything strange like that.

My guess is that i hit ctl-c during the commit of the data and it wasn't
able to rollback.

Any idea if that's the case? and if so, is that expected?

Thanks

Dave

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Problem Using RowType Declaration with Table Domains
Next
From: "Joshua D. Drake"
Date:
Subject: Re: UPDATE after Cancle