| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера