postgresql/src/backend/storage
Alvaro Herrera 5da9da71c4 Improve snapshot manager by keeping explicit track of snapshots.
There are two ways to track a snapshot: there's the "registered" list, which
is used for arbitrary long-lived snapshots; and there's the "active stack",
which is used for the snapshot that is considered "active" at any time.
This also allows users of snapshots to stop worrying about snapshot memory
allocation and freeing, and about using PG_TRY blocks around ActiveSnapshot
assignment.  This is all done automatically now.

As a consequence, this allows us to reset MyProc->xmin when there are no
more snapshots registered in the current backend, reducing the impact that
long-running transactions have on VACUUM.
2008-05-12 20:02:02 +00:00
..
buffer Put back bufmgr.h in bufpage.h -- it is needed by some macros. 2008-05-12 16:06:10 +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 snapshot manager by keeping explicit track of snapshots. 2008-05-12 20:02:02 +00:00
large_object Improve snapshot manager by keeping explicit track of snapshots. 2008-05-12 20:02:02 +00:00
lmgr Adjust the recent patch for reporting of deadlocked queries so that we report 2008-03-24 18:22:36 +00:00
page Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
smgr Remove the recently added USE_SEGMENTED_FILES option, and indeed remove all 2008-05-02 01:08:27 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00