From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Karcher <thkarcher@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Consistent PITR backup
Date: Thu, 11 Oct 2007 10:47:23 -0400
Message-ID: <13579.1192114043@sss.pgh.pa.us> (raw)
In-Reply-To: <1192113425.9842.2.camel@localhost.localdomain>
References: <20071011093908.GA7988@arche.mine.nu>
<13019.1192112569@sss.pgh.pa.us>
<1192113425.9842.2.camel@localhost.localdomain>
Thomas Karcher <thkarcher@gmx.de> writes:
>> I believe the intended way to do this is to look at pg_stop_backup's
>> return value to determine the last segment you need to archive.
> Thank you - I saw that, but I didn't have a clue about how to determine
> the WAL filename in which this segment is to be found ...
Well, the transformation is pretty trivial, but you can use
pg_xlogfile_name() to avoid getting your hands dirty.
regards, tom lane
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, thkarcher@gmx.de
Subject: Re: Consistent PITR backup
In-Reply-To: <13579.1192114043@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