Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 47D189F9A14 for ; Fri, 21 Sep 2007 10:23:35 -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 40409-02 for ; Fri, 21 Sep 2007 10:22:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 5DEB39F9A92 for ; Fri, 21 Sep 2007 10:22:52 -0300 (ADT) Received: from perhan.alvh.no-ip.org ([190.95.8.15]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l8LDMhJR024745; Fri, 21 Sep 2007 06:22:43 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 6AACD47C41; Fri, 21 Sep 2007 09:22:41 -0400 (CLT) Date: Fri, 21 Sep 2007 09:22:41 -0400 From: Alvaro Herrera To: xmuinn Cc: pgsql-admin@postgresql.org Subject: Re: How to repair if file pg_clog/0000 is deleted Message-ID: <20070921132241.GC5947@alvh.no-ip.org> References: <46F31C45.2020806@xmuinn.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46F31C45.2020806@xmuinn.cn> User-Agent: Mutt/1.5.16 (2007-06-11) X-Virus-Scanned: ClamAV 0.91.1/4357/Fri Sep 21 02:55:46 2007 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]); Fri, 21 Sep 2007 06:22:48 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/132 X-Sequence-Number: 26893 xmuinn wrote: > Files under directory pg_clog are deleted. > How to rebuild files under the directory? Restore from backup. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.