Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id E27FC2E362E for ; Wed, 23 Jan 2008 19:31:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 58777-01-4 for ; Wed, 23 Jan 2008 19:31:39 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E2AFE2E37E5 for ; Wed, 23 Jan 2008 18:48:42 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m0NMmf5c026741; Wed, 23 Jan 2008 17:48:41 -0500 (EST) To: Alexander Vysokovskih cc: pgsql-admin@postgresql.org Subject: Re: lost /pg_xlog In-reply-to: <1504012229.20080124015902@ural.org> References: <1504012229.20080124015902@ural.org> Comments: In-reply-to Alexander Vysokovskih message dated "Thu, 24 Jan 2008 01:59:02 +0500" Date: Wed, 23 Jan 2008 17:48:41 -0500 Message-ID: <26740.1201128521@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/232 X-Sequence-Number: 28006 Alexander Vysokovskih writes: > --- > LOG: could not open file "pg_xlog/000000030000000100000058" (log file 1, segment 88): No such file or directory > LOG: invalid primary checkpoint record > --- > before that happened postgres was shutdown normally. If so, pg_resetxlog will get you out of this. regards, tom lane