X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1BE71476414 for ; Wed, 14 May 2003 17:40:17 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 58728-07 for ; Wed, 14 May 2003 17:40:15 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 68AE94758C9 for ; Wed, 14 May 2003 17:40:15 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h4ELeGU6003501; Wed, 14 May 2003 17:40:16 -0400 (EDT) To: Bruno Mattarollo Cc: pgsql-admin@postgresql.org Subject: Re: [URGENT] Problems recovering database In-reply-to: References: Comments: In-reply-to Bruno Mattarollo message dated "Wed, 14 May 2003 22:42:00 +0200" Date: Wed, 14 May 2003 17:40:16 -0400 Message-ID: <3500.1052948416@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/190 X-Sequence-Number: 8752 Bruno Mattarollo writes: > Thanks for the tip. It worked to start the DB but when I issue: > psql -l > I can't see my databases :( You need to set the next transaction ID higher (pg_resetxlog -x). I'd try 2 billion (2000000000) for starters. You should probably also be setting the WAL start location (-l) somewhere past the evidently-already-existing segments ("-l 2,0" should do, I think). Needless to say, initdb and reload as soon as you have managed to get a good dump. regards, tom lane