From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Klatt <lists.tcimk@olympus.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Recovery using Online Backup+WAL and broken passwords
Date: Fri, 04 Feb 2005 12:04:18 -0500
Message-ID: <15237.1107536658@sss.pgh.pa.us> (raw)
In-Reply-To: <4203A249.1010409@olympus.net>
References: <4203A249.1010409@olympus.net>
Michael Klatt <lists.tcimk@olympus.net> writes:
> I love the online backup feature, but I'm encountering a problem with
> users restored from WAL files. It seems that after a restore, the
> password for any user created since the base backup is broken.
[ thinks about that... ] Hmm, you're right, there is no mechanism to
cause the flat password file to be rebuilt after a restore. So newly
created users won't be in it (and for that matter it won't reflect
post-backup password changes for existing users). Just (re)assign any
one user's password and things should be ok.
Now that I think about it, this problem exists for ordinary crash
recovery from WAL as well. We probably ought to just forcibly rebuild
the flat file at conclusion of any recovery. Odd that it hadn't been
noticed already.
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 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: tgl@sss.pgh.pa.us, lists.tcimk@olympus.net
Subject: Re: Recovery using Online Backup+WAL and broken passwords
In-Reply-To: <15237.1107536658@sss.pgh.pa.us>
References: <4203A249.1010409@olympus.net> <15237.1107536658@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