large objects overwriting bug

Started by PostgreSQL Bugs Listabout 25 years ago3 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

(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 happens in 7.0.3.

Sample Code

No file was uploaded with this report

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: large objects overwriting bug

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 it happens 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

#3Noname
bs@niggard.org
In reply to: PostgreSQL Bugs List (#1)
Re: large objects overwriting bug

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 it happens 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.