Re: Turning recovery.conf into GUCs
От | Alex Shulgin |
---|---|
Тема | Re: Turning recovery.conf into GUCs |
Дата | |
Msg-id | 87ioi5rnbw.fsf@commandprompt.com обсуждение исходный текст |
Ответ на | Re: Turning recovery.conf into GUCs (Alex Shulgin <ash@commandprompt.com>) |
Ответы |
Re: Turning recovery.conf into GUCs
|
Список | pgsql-hackers |
Alex Shulgin <ash@commandprompt.com> writes: > >>> > * Why do you include xlog_internal.h in guc.c and not xlog.h? >> >>> we actually need both but including xlog_internal.h also includes xlog.h >>> i added xlog.h and if someone things is enough only putting >>> xlog_internal.h let me know >> >> What's required from xlog_internal.h? > > Looks like this was addressed before me. Actually, it's there to bring in MAXFNAMELEN which is used in check_recovery_target_name. Not sure how it even compiled without that, but after some branch switching it doesn't anymore. :-p Maybe we should move these check/assign hooks to xlog.c, but that's likely going to create header files dependency problem due to use of GucSource in the hook prototype... -- Alex
В списке pgsql-hackers по дате отправления: