aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2018-04-10 18:21:03 -0400
committerAndrew Dunstan <andrew@dunslane.net>2018-04-10 18:21:03 -0400
commit074251db6740a9abfbd922d13d39b27c4f338a20 (patch)
tree071d11111c9dfd3719c06314efb5582b3caf0628 /src/backend/executor/nodeModifyTable.c
parent31f1f0bb4fd642643994d35c35ecb5b929711a99 (diff)
downloadpostgresql-074251db6740a9abfbd922d13d39b27c4f338a20.tar.gz
postgresql-074251db6740a9abfbd922d13d39b27c4f338a20.zip
Adjustments to the btree fastpath optimization.
This optimization was introduced in commit 2b272734. The changes include some additional comments and documentation, and also these more substantive changes: . ensure the optimization is only applied on the leaf node of a tree whose root is on level 2 or more. It's of little value on small trees. . Delay calling RelationSetTargetBlock() until after the critical section of _bt_insertonpg . ensure the optimization is also applied to unlogged tables. Pavan Deolasee and Peter Geoghegan with some very light editing from me. Discussion: https://postgr.es/m/CABOikdO8jhRarNC60nZLktZYhxt+TK8z_V97+Ny499YQdyAfug@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions