Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C29B79FB9C5 for ; Wed, 30 May 2007 18:23:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 15071-01 for ; Wed, 30 May 2007 18:23:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 200A49FBA09 for ; Wed, 30 May 2007 18:23:45 -0300 (ADT) Received: from perhan.alvh.no-ip.org (201-221-217-243.bk12-dsl.surnet.cl [201.221.217.243]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l4ULNWLe023610; Wed, 30 May 2007 14:23:33 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id D982332A15; Wed, 30 May 2007 17:23:27 -0400 (CLT) Date: Wed, 30 May 2007 17:23:27 -0400 From: Alvaro Herrera To: Roman Chervotkin Cc: pgsql-admin@postgresql.org Subject: Re: pg_dump: Error message from server: ERROR: compressed data is corrupt Message-ID: <20070530212327.GQ7128@alvh.no-ip.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Wed, 30 May 2007 14:23:41 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/322 X-Sequence-Number: 25642 Roman Chervotkin escribió: > Hi list. > > Do usual pg_dump today and have got an error. > > --------------------- > pg_dump: SQL command failed > pg_dump: Error message from server: ERROR: compressed data is corrupt > pg_dump: The command was: COPY public.candidates (id, name, surname, > mid_name, compensation, created, birthday, updated, creator_id, updater_id, > home_region_id, home_city, home_street, other_languages, home_region_other, > edu_conformity, sex, deleted, resume_text, resume_text_index, mark, kids, > driving_license, marital_status, software_knowledge, business_contacts, > type_writing_rus, type_writing_lat, desired_duties, desired_other, > updater_name, citizenship, compensation_currency, folder_id, plus, > random_cat, temp_reg, "temp") TO stdout; > ---------------------- > > I had 8.2.0 on Solaris 10 (SunOS server3 5.10 Generic_125101-05 ), > pg_data_dir on zfs mirrored pool. I've checked status of pool and got: Apparently ZFS betrayed you, and the data it recovered is not as good as it seems to think. If it were recovered correctly you wouldn't be getting this error. -- Alvaro Herrera http://www.PlanetPostgreSQL.org/ "No es bueno caminar con un hombre muerto"