Skip site navigation (1) Skip section navigation (2)

Disruptive corruption of data during an update

From: Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Disruptive corruption of data during an update
Date: 2012-03-29 11:17:29
Message-ID: 20120329111729.GA26284@deby.ei.hnet (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
[Using postgresql-8.4.8-0squeeze1 under GNU-linux/debian]

Hi all!

an entire table of my db has been corrupted as a consequence of this erroneous
update command:
mydb=> update bibl set argomento='curatori', autore='DELLA VOLPE Galvano \
       (con due capitoli aggiunti e note di)  where n_prog=3285;
mydb'> ';

UPDATE 12845

Having an adequate back-up I think I'll be able to recover the data, but
can someone explain what the hell happened?
I realized the single quote was missing after the closing parenthesis
and just wrote it plus a second semicolon ';' ....


[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.    \\?//
 Fa' qualche cosa di cui non sei capace!"   (diceva Henry Miller) ]    (°|°)
 Ricevo solo messaggi Content-Type: plain/text (no html o multipart).   )=(
 !!! --> e-mail a mio nome via OE (M$) sono false  e infette <-- !!!


pgsql-novice by date

Next:From: Binand SethumadhavanDate: 2012-03-29 11:33:03
Subject: Re: Disruptive corruption of data during an update
Previous:From: MephystoDate: 2012-03-29 07:10:26
Subject: Re: Show stored function code

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group