postgresql/src/backend
Heikki Linnakangas 3396000684 Rethink the way FSM truncation works. Instead of WAL-logging FSM
truncations in FSM code, call FreeSpaceMapTruncateRel from smgr_redo. To
make that cleaner from modularity point of view, move the WAL-logging one
level up to RelationTruncate, and move RelationTruncate and all the
related WAL-logging to new src/backend/catalog/storage.c file. Introduce
new RelationCreateStorage and RelationDropStorage functions that are used
instead of calling smgrcreate/smgrscheduleunlink directly. Move the
pending rel deletion stuff from smgrcreate/smgrscheduleunlink to the new
functions. This leaves smgr.c as a thin wrapper around md.c; all the
transactional stuff is now in storage.c.

This will make it easier to add new forks with similar truncation logic,
like the visibility map.
2008-11-19 10:34:52 +00:00
..
access Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
bootstrap Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 2008-11-02 01:45:28 +00:00
catalog Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
commands Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
executor Some infrastructure changes for the upcoming auto-explain contrib module: 2008-11-19 01:10:24 +00:00
lib Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
libpq Ident authentication over Unix-domain sockets on Solaris, using 2008-11-18 13:10:20 +00:00
main Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
nodes Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan 2008-11-15 19:43:47 +00:00
optimizer Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan 2008-11-15 19:43:47 +00:00
parser Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan 2008-11-15 19:43:47 +00:00
po Translation updates 2008-01-31 18:04:52 +00:00
port Revert previous patch to put the shared memory segment on win32 2008-10-30 17:04:09 +00:00
postmaster Fix off-by-one error in autovacuum shmem struct sizing. This could lead to 2008-11-12 10:10:32 +00:00
regex Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
rewrite Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
snowball pg_do_encoding_conversion cannot return NULL (at least not unless the input 2008-11-10 15:18:40 +00:00
storage Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
tcop Some infrastructure changes for the upcoming auto-explain contrib module: 2008-11-19 01:10:24 +00:00
tsearch pg_do_encoding_conversion cannot return NULL (at least not unless the input 2008-11-10 15:18:40 +00:00
utils Fix compiler warning "res may be used uninitialized in this function". 2008-11-19 10:23:21 +00:00
Makefile Remove all traces that suggest that a non-Bison yacc might be supported, and 2008-08-29 13:02:33 +00:00
common.mk Code coverage testing with gcov. Documentation is in the regression test 2008-09-05 12:11:18 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:22 +00:00