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
обсуждение исходный текст
Список pgsql-committers
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
Дата:
Сообщение: Re: pgsql: Document that a CHECKPOINT before taking a file system snapshot
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Add inet_net_ntop.c to .gitignore.