]> granicus.if.org Git - postgresql/commit
Remove obsolete nbtree README commentary.
authorPeter Geoghegan <pg@bowt.ie>
Wed, 14 Aug 2019 00:16:44 +0000 (17:16 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Wed, 14 Aug 2019 00:16:44 +0000 (17:16 -0700)
commit68ef887842ff716097bbb1bad86a40bb62247061
treecb68c237ea705af995a5107c28a845c001cb993d
parent31d43710fb069a5c2be6ec1dbc9fa7261cf9feff
Remove obsolete nbtree README commentary.

Commit d2086b08b02 removed almost all cases where nbtree must release a
read buffer lock and acquire a write buffer lock instead, so remaining
cases in which that's still necessary are not notable enough to appear
in the nbtree README.

More importantly, holding on to a buffer pin in cases where nbtree must
trade a read lock for a write lock is very unlikely to save any I/O.
This seems to have been a long overlooked throwback to a time when
nbtree cared about write-ordering dependencies, and performed
synchronous buffer writes.  It hasn't worked that way in many years.
src/backend/access/nbtree/README