postgresql/src/backend/storage
Heikki Linnakangas 3f0e808c4a Introduce the concept of relation forks. An smgr relation can now consist
of multiple forks, and each fork can be created and grown separately.

The bulk of this patch is about changing the smgr API to include an extra
ForkNumber argument in every smgr function. Also, smgrscheduleunlink and
smgrdounlink no longer implicitly call smgrclose, because other forks might
still exist after unlinking one. The callers of those functions have been
modified to call smgrclose instead.

This patch in itself doesn't have any user-visible effect, but provides the
infrastructure needed for upcoming patches. The additional forks envisioned
are a rewritten FSM implementation that doesn't rely on a fixed-size shared
memory block, and a visibility map to allow skipping portions of a table in
VACUUM that have no dead tuples.
2008-08-11 11:05:11 +00:00
..
buffer Introduce the concept of relation forks. An smgr relation can now consist 2008-08-11 11:05:11 +00:00
file Remove the recently added USE_SEGMENTED_FILES option, and indeed remove all 2008-05-02 01:08:27 +00:00
freespace Reduce memory consumption during VACUUM of large relations, by using 2008-03-10 02:04:10 +00:00
ipc Improve CREATE/DROP/RENAME DATABASE so that when failing because the source 2008-08-04 18:03:46 +00:00
large_object Improve our #include situation by moving pointer types away from the 2008-06-19 00:46:06 +00:00
lmgr Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00
page Change the PageGetContents() macro to guarantee its result is maxalign'd, 2008-07-13 21:50:04 +00:00
smgr Introduce the concept of relation forks. An smgr relation can now consist 2008-08-11 11:05:11 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00