Need to reset local buffer pin counts, not only shared buffer pins,
Tom Lane <tgl@sss.pgh.pa.us>
Need to reset local buffer pin counts, not only shared buffer pins, before we attempt any file deletions in ShutdownPostgres. Per Tatsuo.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/localbuf.c | modified | +15 −1 |
| src/backend/utils/init/postinit.c | modified | +2 −1 |
| src/include/storage/bufmgr.h | modified | +2 −1 |