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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [TODO] Track number of files ready to be archived in pg_stat_archiver
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Change in HEAP_NEWPAGE logging makes diagnosis harder