Re: Fixing flat user/group files at database startup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing flat user/group files at database startup
Дата
Msg-id 4932.1107710698@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixing flat user/group files at database startup  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> I guess I'm confused by 'who' needs to 'get in' to have a bit of code
> run at the very end of the backend startup.  Apparently I'm somewhat
> naive in that area.

The point is that the postmaster is going to use the flat files to
check whether you're allowed to log in in the first place.  It does
you little good to have a fixup routine in place in backend startup
if you're not allowed to get that far.

(Indeed, one of the points on my personal TODO list entry for this
problem is to make sure the postmaster doesn't try to use the flat
files before we know they've been brought up to date.  Right at the
moment it loads them before even launching the WAL replay process...)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: Query optimizer 8.0.1 (and 8.0)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Patch Count?