postgresql/src/backend/utils
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
..
adt Introduce the concept of relation forks. An smgr relation can now consist 2008-08-11 11:05:11 +00:00
cache Fix corner-case bug introduced with HOT: if REINDEX TABLE pg_class (or a 2008-08-10 19:02:33 +00:00
error Increase PG_SYSLOG_LIMIT (the max line length sent to syslog()) from 128 to 2008-07-09 15:56:49 +00:00
fmgr Implement SQL-spec RETURNS TABLE syntax for functions. 2008-07-18 03:32:53 +00:00
hash Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
init Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation 2008-06-12 09:12:31 +00:00
mb Fix compiler warning introduced by recent patch. Tsk tsk. 2008-06-18 23:08:47 +00:00
misc Use guc.c's parse_int() instead of pg_atoi() to parse fillfactor in 2008-07-23 17:29:53 +00:00
mmgr Adjust things so that the query_string of a cached plan and the sourceText of 2008-07-18 20:26:06 +00:00
resowner Improve our #include situation by moving pointer types away from the 2008-06-19 00:46:06 +00:00
sort Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00
time Make sure we only try to free snapshots that have been passed through 2008-07-11 02:10:14 +00:00
.cvsignore
Gen_dummy_probes.sed Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00
Gen_fmgrtab.pl Fix Gen_fmgrtab.sh to not rely on hard-wired knowledge of the column numbers 2008-06-23 17:54:30 +00:00
Gen_fmgrtab.sh Fix Gen_fmgrtab.sh to not rely on hard-wired knowledge of the column numbers 2008-06-23 17:54:30 +00:00
Makefile Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00
probes.d Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00