Thread: large objects overwriting bug

large objects overwriting bug

From
pgsql-bugs@postgresql.org
Date:
(bs@niggard.org) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
large objects overwriting bug

Long Description
When overwriting an lo with a larger lo, the old data is not overwritten. This was supposed to be fixed in 6.5, but it
happensin 7.0.3. 

Sample Code


No file was uploaded with this report

Re: large objects overwriting bug

From
Tom Lane
Date:
pgsql-bugs@postgresql.org writes:
> When overwriting an lo with a larger lo, the old data is not overwritten. This was supposed to be fixed in 6.5, but
ithappens in 7.0.3. 

Please try your test case in 7.1beta3 or later.  The large-object
support has been rather completely rewritten ... if this bug is
still there, then we need to know about it.

            regards, tom lane

Re: large objects overwriting bug

From
bs@niggard.org
Date:
Tom Lane wrote:

> pgsql-bugs@postgresql.org writes:
>
>> When overwriting an lo with a larger lo, the old data is not overwritten. This was supposed to be fixed in 6.5, but
ithappens in 7.0.3 
>
> Please try your test case in 7.1beta3 or later.  The large-object
> support has been rather completely rewritten ... if this bug is
> still there, then we need to know about it.

Works with 7.1beta3,
thanks.