From: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
To: pgsql-admin@postgresql.org
Subject: Re: backup WAL files,
Date: Wed, 16 Jan 2008 08:45:03 +0100
Message-ID: <20080116074503.E077A3AEB1@smtp.l00-bugdead-prods.de> (raw)
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Tom Davies <tgdavies@gmail.com> writes:
> > On 16/01/2008, at 2:41 AM, Tom Lane wrote:
> >> You definitely should not expect to convert the names to integers.
>
> > Presumably you can convert them to 96 bit integers? i.e. they are
> > always strings of hex characters?
>
> You could, but in most scripting languages I can think of, it'd be
> a lot easier just to treat them as strings.
yeah, I tried to convert the whole filename into an integer, and then
compare it, but the int was too large then, therefore I only took the last 9
hex digits and converted these.
Anybody knows in which source file the filename is generated, then I can
take a look by myself and get all the details how it is done?
thanks for your insights
Sebastian
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: sebastia@l00-bugdead-prods.de
Subject: Re: backup WAL files,
In-Reply-To: <20080116074503.E077A3AEB1@smtp.l00-bugdead-prods.de>
* 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