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