Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 08ECA2E0092 for ; Mon, 9 Jun 2008 15:21:42 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 91079-04 for ; Mon, 9 Jun 2008 15:21:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by developer.postgresql.org (Postfix) with ESMTP id 2907F2E008B for ; Mon, 9 Jun 2008 15:21:37 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-18-208.bk17-dsl.surnet.cl [190.95.18.208]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m59IN4pY001115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Jun 2008 11:23:07 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0E2A547C7C; Mon, 9 Jun 2008 14:21:28 -0400 (CLT) Date: Mon, 9 Jun 2008 14:21:28 -0400 From: Alvaro Herrera To: Filip =?utf-8?B?S3LFoWth?= Cc: pgsql-admin@postgresql.org Subject: Re: invalid page header in block 29 of relation "pg_type" Message-ID: <20080609182127.GC10034@alvh.no-ip.org> References: <20080606211940.GF16502@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 09 Jun 2008 11:23:07 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/57 X-Sequence-Number: 29395 Filip Krška wrote: > I hope, I've solved it. > > I found 512 damaged bytes on the 29th 8k page of the pg_type's datafile > ($PGDATA/base/16390/1247), it was overwritten by text from some log(?!). Ugh. For the record, what operating system and filesystem are you using? Oh, the underlying storage may be useful too. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.