postgresql/src
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
..
backend Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
bin Change this script to Perl 5 style. Add support for multiple refnames. 2008-11-19 09:51:55 +00:00
include Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
interfaces Add missing dependencies to preproc.y build rule 2008-11-15 22:20:55 +00:00
makefiles Set SQL man pages to be section 7 by default, and only transform them to 2008-11-14 10:22:48 +00:00
pl Some infrastructure changes for the upcoming auto-explain contrib module: 2008-11-19 01:10:24 +00:00
port Reduce chatter from _dosmaperr() when used in FRONTEND code. 2008-10-16 13:27:34 +00:00
template Move forgotten comment closer to where it matters. 2008-10-29 16:23:07 +00:00
test Add required include to build with cygwin. 2008-11-18 21:17:26 +00:00
timezone Suppress leap-second-aware timezones in the output of pg_tzenumerate_next, 2008-11-13 20:49:38 +00:00
tools Exclude contrib/intagg from the list of MSVC project files to be generated, 2008-11-14 22:12:37 +00:00
tutorial Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Catch all errors in for and while loops in makefiles. Don't ignore any 2008-03-18 16:24:50 +00:00
Makefile.global.in Set SQL man pages to be section 7 by default, and only transform them to 2008-11-14 10:22:48 +00:00
Makefile.shlib Synchronize the shared object build rules in Makefile.port with Makefile.shlib 2008-09-01 08:50:10 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk Another fix for compiles on an empty 'po' directory. 2008-05-17 21:27:12 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00