Re: Fixing flat user/group files at database startup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fixing flat user/group files at database startup
Date
Msg-id 29721.1107641107@sss.pgh.pa.us
Whole thread Raw
In response to Fixing flat user/group files at database startup  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fixing flat user/group files at database startup  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> We can't build the files very easily during WAL recovery, but
> what about if we compare the files to the database after the normal
> backend startup?  If they're different, regenerate the files.

This assumes that you can get in in the first place, which is not a good
assumption if the flat password file is missing all your current users
and/or passwords.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Patch Count?
Next
From: Stephen Frost
Date:
Subject: Re: Fixing flat user/group files at database startup