Re: blobs dont rollback ? - Mailing list pgsql-general

From Tom Lane
Subject Re: blobs dont rollback ?
Date
Msg-id 8189.972310623@sss.pgh.pa.us
Whole thread Raw
In response to blobs dont rollback ?  (Peter Pilsl <pilsl@goldfisch.at>)
List pgsql-general
Peter Pilsl <pilsl@goldfisch.at> writes:
> A table contains many entries and each entry includes a single
> blob-oid. In a databaseprocessing perlscript I need to delete such a
> blob and perform the lo_unlink and later I rollback the session without
> commiting (and even no autocommiting) in between. In my opinion this
> should have left the original blob unchanged.

Sorry, you lose: in current releases a blob is a table, and table
deletion is not rollback-able (the physical Unix file is deleted
immediately...)

This will be fixed in 7.1.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange query results with dates
Next
From: Manuel Cabido
Date:
Subject: Re: too many clients?