Breaking compile-time dependency cycles of Postgres subdirs?

Поиск
Список
Период
Сортировка
От Christian Convey
Тема Breaking compile-time dependency cycles of Postgres subdirs?
Дата
Msg-id CAPfS4ZyPNzpFYp3SQnCkyRMi+4fff3EyDs+0A6zPw4NfZa9=uA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Breaking compile-time dependency cycles of Postgres subdirs?
Список pgsql-hackers
This question is mostly just curiosity...

There are build-time dependency cycles between some of Postgres' code subdirectories.  For example, "storage" and "access" have such a cycle:
storage/buffpage.h #includes access/xlogdefs.h
access/visibilitymap.h #includes storage/block.h

Has there been any discussion about reorganizing these directories so that no such cycles exist?

As someone very new to this code base, I think these cycles make it a little harder to figure out the runtime and compile-time dependencies between the subsystems these directories seem to represent.  I wonder if that's a problem others face as well?

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: inherit support for foreign tables
Следующее
От: Christian Kruse
Дата:
Сообщение: Re: extension_control_path