Re: Splitting up guc.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Splitting up guc.c
Дата
Msg-id 666417.1662862120@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Splitting up guc.c  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Splitting up guc.c
Список pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> One part that I have found a bit strange lately about guc.c is that we
> have mix the core machinery with the SQL-callable parts.  What do you
> think about the addition of a gucfuncs.c in src/backend/utils/adt/ to
> split things a bit more?

I might be wrong, but I think the SQL-callable stuff makes use
of some APIs that are currently private in guc.c.  So we'd have
to expose more API to make that possible.  Maybe that wouldn't
be a bad thing, but it seems to be getting beyond the original
idea here.  (Note I already had to expose find_option() in
order to get the wal_consistency_checking stuff moved out.)
It's not clear to me that "move the SQL-callable stuff" will
end with a nice API boundary.

            regards, tom lane



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

Предыдущее
От: Isaac Morland
Дата:
Сообщение: Re: why can't a table be part of the same publication as its schema
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index ordering after IS NULL