pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: nitesh@datacoral.co
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15744: Replication slot peak query throwing error for wrong sequence entry for toast chunk
Date: Wed, 10 Apr 2019 10:28:55 +0200
Message-ID: <3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com> (raw)
In-Reply-To: <15744-ca657d03603b8220@postgresql.org>
References: <15744-ca657d03603b8220@postgresql.org>

On 2019-04-09 22:09, PG Bug reporting form wrote:
> PostgreSQL version: 9.6.3

This is very old.  9.6.12 is current.

> Behavior reported (Bug)
>   We have a replication slot running for successfully but recently we
> encountered following error: 
> 
> error: got sequence entry 2 for toast chunk 30954054 instead of seq 0

> Temporary resolution
>     After running the query 2-3 times, the error went away. But this causes
> the whole process to shut down. 
> 
> Is there any permanent resolution for the issue or is it resolved in the
> higher version of postgres? 

I've not seen this particular error, but there are a number of fixes
related to possible TOAST corruption, so this might be related to that.
Upgrading would certainly be the first step before investigating further.

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





view thread (3+ messages)  latest in thread

Message-ID: <3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com>
Permalink:  ../3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com/
Also on:    postgresql.org/message-id/3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, nitesh@datacoral.co
  Subject: Re: BUG #15744: Replication slot peak query throwing error for wrong sequence entry for toast chunk
  In-Reply-To: <3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com>
  References: <15744-ca657d03603b8220@postgresql.org> <3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox