Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Denis Perchine <dyp(at)perchine(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS
Date: 2001-01-21 03:51:23
Message-ID: 200101210351.WAA02843@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

[ Charset KOI8-R unsupported, converting... ]
> On Saturday 20 January 2001 10:05, you wrote:
> > I just wanted to confirm that this patch was applied.
>
> Yes, it is. But the following patch is not applied. But I sure that it is
> neccessary, otherwise we will get really strange errors (see discussion in
> the thread).
>
> http://www.postgresql.org/mhonarc/pgsql-patches/2000-11/msg00013.html

Can people comment on the following patch that Dennis says is needed?
It prevents BLOB operations outside transactions. Dennis, can you
explain why BLOB operations have to be done inside transactions?

---------------------------------------------------------------------------
Hello,

here is the patch attached which do check in each BLOB operation, if we are
in transaction, and raise an error otherwise. This will prevent such
mistakes.

--
Sincerely Yours,
Denis Perchine

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 5.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-21 03:58:40 Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS
Previous Message Tom Lane 2001-01-21 02:52:49 Re: like and optimization

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-01-21 03:58:40 Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS
Previous Message Peter Eisentraut 2001-01-21 01:00:17 SQL Guide