Re: ERROR: unexpected data beyond EOF

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ERROR: unexpected data beyond EOF
Date: 2015-04-30 19:12:41
Message-ID: 55427EA9.6080208@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 04/30/2015 12:09 PM, Alvaro Herrera wrote:
>
> 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.

Well it certainly causes an outage unfortunately. Once the error occurs
postgresql will stop accepting requests (which is correct but still).

JD

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-04-30 19:23:25 Re: parallel mode and parallel contexts
Previous Message Alvaro Herrera 2015-04-30 19:09:11 Re: ERROR: unexpected data beyond EOF