postgresql/src/backend
Tom Lane 1609797c25 Clean up the #include mess a little.
walsender.h should depend on xlog.h, not vice versa.  (Actually, the
inclusion was circular until a couple hours ago, which was even sillier;
but Bruce broke it in the expedient rather than logically correct
direction.)  Because of that poor decision, plus blind application of
pgrminclude, we had a situation where half the system was depending on
xlog.h to include such unrelated stuff as array.h and guc.h.  Clean up
the header inclusion, and manually revert a lot of what pgrminclude had
done so things build again.

This episode reinforces my feeling that pgrminclude should not be run
without adult supervision.  Inclusion changes in header files in particular
need to be reviewed with great care.  More generally, it'd be good if we
had a clearer notion of module layering to dictate which headers can sanely
include which others ... but that's a big task for another day.
2011-09-04 01:13:16 -04:00
..
access Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
bootstrap Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
catalog Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
commands Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
executor Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
foreign Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
main Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
nodes Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
optimizer Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
parser Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
rewrite Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
tcop Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
tsearch Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
utils Clean up the #include mess a little. 2011-09-04 01:13:16 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
nls.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00