pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lara.schembri@nyxgg.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14621: ERROR:  compressed data is corrupt
Date: Wed, 12 Apr 2017 07:31:07 +0000
Message-ID: <20170412073107.25947.15117@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14621
Logged by:          Lara Schembri
Email address:      lara.schembri@nyxgg.com
PostgreSQL version: 9.3.4
Operating system:   Centos 7 
Description:        

Hi, 

A few months ago, the master has failed due to a controller issue and had to
failover to the slave. The Controller introduced some data corruption which
was detected recently.

Currently I'm trying to archive an old table is not being used and during
the pg_dump the below error was given

ERROR:  compressed data is corrupt

I have identified that a text coloumn of the ctid (74127541,3) was
corrupted. This was done by doing a full table scan and wait for that error.
However, I would like to know how extensive this corruption is. Is there a
way to be able to extract all the corrupted CTID's and ignore them from the
copy.

Please note i have tried the chk function 
   declare t text;                          
   begin t := $1;                           
     return false;                          
     exception when others then return true;
   end;                                     
                                            

which did not work.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (4+ messages)  latest in thread

Message-ID: <20170412073107.25947.15117@wrigleys.postgresql.org>
Permalink:  ../20170412073107.25947.15117@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170412073107.25947.15117@wrigleys.postgresql.org

 · 

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: lara.schembri@nyxgg.com
  Subject: Re: BUG #14621: ERROR:  compressed data is corrupt
  In-Reply-To: <20170412073107.25947.15117@wrigleys.postgresql.org>
  References: <20170412073107.25947.15117@wrigleys.postgresql.org>

* 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