pgsql: Remove belt-and-suspenders guards against buffer pin leaks.
От
Robert Haas
Тема
pgsql: Remove belt-and-suspenders guards against buffer pin leaks.
Дата
Msg-id
E1PLU9G-0002U0-Vl@gemulon.postgresql.org
Список
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. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=c2281ac87cf4828b6b828dc8585a10aeb3a176e0 Modified Files -------------- src/backend/storage/buffer/bufmgr.c | 21 ++++++++------------- src/backend/storage/buffer/localbuf.c | 21 +++++++++++++++------ 2 files changed, 23 insertions(+), 19 deletions(-)
В списке pgsql-committers по дате отправления
От: Bruce Momjian
Дата: