Re: ERROR: unexpected data beyond EOF - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ERROR: unexpected data beyond EOF
Date
Msg-id 20150430190911.GT4369@alvh.no-ip.org
Whole thread Raw
In response to Re: ERROR: unexpected data beyond EOF  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: ERROR: unexpected data beyond EOF
List pgsql-hackers
Joshua D. Drake wrote:
> 
> I take that back, it appears this table is heavily deleted from and also
> uses the lo_manage() triggers.

Well, if it's heavily deleted, then it's probably also heavily vacuumed
and from time to time empty pages at the tail are removed by vacuum.  It
might also be the case I was remembering, rather than regular TRUNCATE.

I don't think the vacuumlo stuff would have much to do with it issue; I
think it would only scan the table, then delete stuff from
pg_largeobject.  It doesn't modify the table itself (unless I'm
misremembering)

Anyway, I don't remember that we reached any useful conclusion.  Andres
suspected a PG bug, but we didn't find anything.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: ERROR: unexpected data beyond EOF
Next
From: "Joshua D. Drake"
Date:
Subject: Re: ERROR: unexpected data beyond EOF