Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 58103632895 for ; Tue, 27 Apr 2010 09:52:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 43567-09 for ; Tue, 27 Apr 2010 12:52:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mail.postgresql.org (Postfix) with ESMTP id 809DD6325B0 for ; Tue, 27 Apr 2010 09:52:31 -0300 (ADT) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o3RCqSSg011108 for ; Tue, 27 Apr 2010 15:52:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o3RCqS5e011106 for pgsql-admin@postgresql.org; Tue, 27 Apr 2010 15:52:28 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-admin@postgresql.org Subject: Re: pg_dump: Error message from server: ERROR: compressed data is corrupt Date: Tue, 27 Apr 2010 14:52:27 +0200 User-Agent: KMail/1.9.7 References: <201004231454.43104.achill@matrix.gatewaynet.com> <7928.1272031546@sss.pgh.pa.us> In-Reply-To: <7928.1272031546@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201004271552.28147.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_20=-0.001 X-Spam-Level: X-Archive-Number: 201004/336 X-Sequence-Number: 34430 =CE=A3=CF=84=CE=B9=CF=82 Friday 23 April 2010 17:05:46 =CE=BF/=CE=B7 Tom La= ne =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Achilleas Mantzios writes: > > Then i did >=20 > > # CREATE TABLE mail_entity2 AS SELECT * FROM mail_entity; >=20 > > which went fine >=20 > > but, for some crazy reason, pg_dump on mail_entity2 also results to an = error: > > srv:~> pg_dump -t mail_entity2 > /dev/null > > pg_dump: SQL command failed > > pg_dump: Error message from server: ERROR: compressed data is corrupt >=20 > The create/select would not have bothered to decompress any > inline-compressed datums, so the corrupted data went right over to the > new table. I think you'll have to engage in another round of > divide-and-conquer to locate the specific row or rows with a corrupted > value. We just removed one memory SIM, and the problem went away. It must have been a problem caused by on the fly memory hardware error rath= er than actual corrupted data on the disk. I have a decent dump now, thank you a lot. >=20 > regards, tom lane >=20 =2D-=20 Achilleas Mantzios