Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7hlo-00075u-2y for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2013 08:10:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V7hln-0006PY-EI for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2013 08:09:59 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7hlm-0006PQ-C5 for pgsql-general@postgresql.org; Fri, 09 Aug 2013 08:09:58 +0000 Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7hlh-0008Aw-5M for pgsql-general@postgresql.org; Fri, 09 Aug 2013 08:09:57 +0000 Received: by mail-pb0-f42.google.com with SMTP id un15so4402595pbc.29 for ; Fri, 09 Aug 2013 01:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uBB3+gyaN5sae/D6Q5/iIiBvdDvPpGqIpd7SjK+dX6U=; b=vG0XEiHEm2gircibt234rILDwLH/gaEjPqQ5mqLrumaeAatYyPFN4NeDZkVxuAcWAX 9oVemOhJjx+sckEp8v5HVsRaVETFbQGpF27NvfN9jTkALhggJYWn7KaM9Kc62KnnGJJt XFdBUhmSREUbfyb+w2VevM/knMMrCPXDTeoinDcWUcaTL/G6Gr8f/AevD0kEmGowJW3z sj3///sNeAUww7NTGdkW2hRKdockpu8qCRu7V5T2Bnbg/F9v9JsbcXVkgx/AfwnMk/oT ng8r6yL8wiXRAqYZY2y/s0mxFOVK4KLYxaFC0UajQ5Bzu6hGzTEKZLnjtN8ooiuiMOx3 jWyA== X-Received: by 10.68.163.131 with SMTP id yi3mr10349239pbb.55.1376035792453; Fri, 09 Aug 2013 01:09:52 -0700 (PDT) Received: from [192.168.0.102] (014136185055.ctinets.com. [14.136.185.55]) by mx.google.com with ESMTPSA id qf7sm21095488pac.14.2013.08.09.01.09.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 01:09:51 -0700 (PDT) Subject: Recovery.conf and PITR Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: "ascot.moss@gmail.com" In-Reply-To: Date: Fri, 9 Aug 2013 16:09:49 +0800 Cc: ascot.moss@gmail.com Content-Transfer-Encoding: quoted-printable Message-Id: References: <1375985902.2599.YahooMailNeo@web162904.mail.bf1.yahoo.com> To: PostgreSQL general X-Mailer: Apple Mail (2.1085) X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Hi, I am trying PITR in a test machine (same PG version 9.2.4 same O/S Ubuntu 1= 2.04 64 bit). All archived WAL files are shipped and saved in /var/pgsql/d= ata/archive, the latest transaction txid of them is 75666. I want to recov= er PG at a point of time that if XIDs are equal or smaller than '75634' so= I have the following recovery.conf (only two lines):=20 restore_command =3D 'cp /var/pgsql/data/archive/%f %p' recovery_target_xid =3D '75634' After the restart of PG, the recovery.conf is processed and it is renamed t= o recovery.done. However it restored all (75666) instead of '75634'. postgres=3D# select txid_current(); txid_current=20 -------------- 75666 (1 row) Can you please advise? regards --=20 Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general