Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6C18A2E01DD for ; Tue, 15 Jan 2008 11:41:54 -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 87303-06 for ; Tue, 15 Jan 2008 11:41:44 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9A2F22E01F6 for ; Tue, 15 Jan 2008 11:41:50 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0FFfg7h023897; Tue, 15 Jan 2008 10:41:42 -0500 (EST) To: "Sebastian Reitenbach" cc: pgsql-admin@postgresql.org Subject: Re: backup WAL files, In-reply-to: <20080115094428.D7C963AA8A@smtp.l00-bugdead-prods.de> References: <20080115094428.D7C963AA8A@smtp.l00-bugdead-prods.de> Comments: In-reply-to "Sebastian Reitenbach" message dated "Tue, 15 Jan 2008 10:44:28 +0100" Date: Tue, 15 Jan 2008 10:41:42 -0500 Message-ID: <23896.1200411702@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/157 X-Sequence-Number: 27931 "Sebastian Reitenbach" writes: > The WAL files have names like this: > 00000001000000010000003C > I am wonder what the meaning of the two 1 in the filename is? The first one (the first 8 hex digits actually) are the current "timeline" number. The second one isn't very interesting, it's an artifact of the way that WAL file locations are converted to file names internally. > Are the WAL > file names counted up to FFFFFFFFFFFFFFFFFFFFFFFFF ? > Then I'll run into problems anyways as these int number are too large to be > handled by bash. You definitely should not expect to convert the names to integers. regards, tom lane