Breaking compile-time dependency cycles of Postgres subdirs? - Mailing list pgsql-hackers

From Christian Convey
Subject Breaking compile-time dependency cycles of Postgres subdirs?
Date
Msg-id CAPfS4ZyPNzpFYp3SQnCkyRMi+4fff3EyDs+0A6zPw4NfZa9=uA@mail.gmail.com
Whole thread Raw
Responses Re: Breaking compile-time dependency cycles of Postgres subdirs?  (Robert Haas <robertmhaas@gmail.com>)
List 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 by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: inherit support for foreign tables
Next
From: Christian Kruse
Date:
Subject: Re: extension_control_path