Fix pg_buffercache to release buffer partition locks in reverse order,
Tom Lane <tgl@sss.pgh.pa.us>
Fix pg_buffercache to release buffer partition locks in reverse order, and add a note about why. This is not tremendously important right now, probably, but it will get more urgent if NUM_BUFFER_PARTITIONS is increased as much as proposed.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_buffercache/pg_buffercache_pages.c | modified | +11 −4 |