Don't bother to lock bufmgr partitions in pg_buffercache.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Don't bother to lock bufmgr partitions in pg_buffercache. That makes the view a lot less disruptive to use on a production system. Without the locks, you don't get a consistent snapshot across all buffers, but that's OK. It wasn't a very useful guarantee in practice. Ivan Kartyshov, reviewed by Tomas Vondra and Robert Haas. Discusssion: <f9d6cab2-73a7-7a84-55a8-07dcb8516ae5@postgrespro.ru>
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_buffercache/pg_buffercache_pages.c | modified | +4 −19 |