pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: backup WAL files,
Date: Tue, 15 Jan 2008 10:41:42 -0500
Message-ID: <23896.1200411702@sss.pgh.pa.us> (raw)
In-Reply-To: <20080115094428.D7C963AA8A@smtp.l00-bugdead-prods.de>
References: <20080115094428.D7C963AA8A@smtp.l00-bugdead-prods.de>

"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de> 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



view thread (7+ messages)  latest in thread

Message-ID: <23896.1200411702@sss.pgh.pa.us>
Permalink:  ../23896.1200411702@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23896.1200411702@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sebastia@l00-bugdead-prods.de
  Subject: Re: backup WAL files,
  In-Reply-To: <23896.1200411702@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox