Re: Fixing flat user/group files at database startup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fixing flat user/group files at database startup
Date: 2005-02-05 22:05:07
Message-ID: 29721.1107641107@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Stephen Frost <sfrost(at)snowman(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2005-02-05 22:53:41 Re: Fixing flat user/group files at database startup
Previous Message Greg Stark 2005-02-05 20:44:52 Cross column statistics