diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-11-25 00:06:46 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-11-25 00:06:46 -0500 |
commit | c2281ac87cf4828b6b828dc8585a10aeb3a176e0 (patch) | |
tree | a90d6e3c86f25ba6d6dbcbcf25ab006689ff0044 /src/backend/commands/functioncmds.c | |
parent | 58dfb07b5d84c0088033e2d22fc44df812fa6eb5 (diff) | |
download | postgresql-c2281ac87cf4828b6b828dc8585a10aeb3a176e0.tar.gz postgresql-c2281ac87cf4828b6b828dc8585a10aeb3a176e0.zip |
Remove belt-and-suspenders guards against buffer pin leaks.
Forcibly releasing all leftover buffer pins should be unnecessary now
that we have a robust ResourceOwner mechanism, and it significantly
increases the cost of process shutdown. Instead, in an assert-enabled
build, assert that no pins are held; in a non-assert-enabled build, do
nothing.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions