ERROR: heap_fetch: xinv19073 relation: ReadBuffer(81aeefe) failed

Started by Ian Grantalmost 27 years ago1 messages
#1Ian Grant
I.A.N.Grant@damtp.cam.ac.uk
2 attachment(s)

Dear PostgreSQL Hackers,

ERROR: heap_fetch: xinv19073 relation: ReadBuffer(81aeefe) failed

I get the above error with the attached program. Is it a bug?

The program opens a connection, starts a transaction, creates a large
object with mode INV_READ | INV_WRITE, opens it with the same mode, calls
lo_write five times with a single 'X', calls lo_lseek to seek to position
1, calls lo_write to write a single 'y', then calls lo_lseek to seek to
position 3 and writes another 'y', then calls lo_close and finally ends
the transaction. The error happens when I write the second 'y'.

I have attached a trace to this message too.

Thanks in advance for your time.

Ian

Attachments:

testloseek.ctext/plain; CHARSET=US-ASCII; NAME=testloseek.cDownload
testloseek.logtext/plain; NAME=testloseek.logDownload