From: Grega Bremec <gregab@p0f.net>
To: pgsql-admin@postgresql.org
Cc: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Subject: Re: FW: Setting up of PITR system.
Date: Sat, 01 Apr 2006 12:44:58 +0200
Message-ID: <442E59AA.7010106@p0f.net> (raw)
In-Reply-To: <442E1945.4030006@p0f.net>
References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAAB0heSWPqq+QLrrk5Lik5sLAQAAAAA=@mailnetwork.co.uk>
<a97c77030603290445o29f96099xd3cc5f15cd4fb364@mail.gmail.com>
<442B93DD.4020305@p0f.net>
<a97c77030603312023k7bdc705eif22af429dc3c943d@mail.gmail.com>
<442E1945.4030006@p0f.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Grega Bremec wrote:
| ~ find ${WAL_ARCHIVE} -type f | sort -g | while read archive; do
| ~ if [ ! "${archive}" = "${REF_FILE}" ]; then
Actually, this test is only possible since ${REF_FILE} was expanded
using the ${WAL_FILE} mask and will contain full path to the log; if you
used your old method to obtain ${REF_FILE}, it will NOT match here, as
it only contains the filename. You should write the test like this:
~ if [ ! "`basename ${archive}`" = "${REF_FILE}" ]; then
~ ...
Kind regards,
- --
~ Grega Bremec
~ gregab at p0f dot net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFELlmqfu4IwuB3+XoRA7PNAJ9Ks5+6l0dmAgeIixcofNTUjXy3FgCfT+D1
kNvLWQIlKuo+GzF05IfPu2U=
=aiNg
-----END PGP SIGNATURE-----
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gregab@p0f.net, mallah.rajesh@gmail.com
Subject: Re: FW: Setting up of PITR system.
In-Reply-To: <442E59AA.7010106@p0f.net>
References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAAB0heSWPqq+QLrrk5Lik5sLAQAAAAA=@mailnetwork.co.uk> <a97c77030603290445o29f96099xd3cc5f15cd4fb364@mail.gmail.com> <442B93DD.4020305@p0f.net> <a97c77030603312023k7bdc705eif22af429dc3c943d@mail.gmail.com> <442E1945.4030006@p0f.net> <442E59AA.7010106@p0f.net>
* 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