aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-10-16 18:57:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-10-16 18:57:26 +0000
commitfdd13f156814f81732c188788ab1b7b14c59f4da (patch)
tree2ca797d2b320de27c01ec61f5480558a05c27f4d /src/backend/commands/dbcommands.c
parent1c2de4774620469375e6393fbdbcdaffb0c2d0b5 (diff)
downloadpostgresql-fdd13f156814f81732c188788ab1b7b14c59f4da.tar.gz
postgresql-fdd13f156814f81732c188788ab1b7b14c59f4da.zip
Give the ResourceOwner mechanism full responsibility for releasing buffer
pins at end of transaction, and reduce AtEOXact_Buffers to an Assert cross-check that this was done correctly. When not USE_ASSERT_CHECKING, AtEOXact_Buffers is a complete no-op. This gets rid of an O(NBuffers) bottleneck during transaction commit/abort, which recent testing has shown becomes significant above a few tens of thousands of shared buffers.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions