Use key and partdesc from PartitionDispatch where possible.
Instead of repeatedly fishing the data out of the relcache entry,
let's use the version that we cached in the PartitionDispatch. We
could alternatively rip out the PartitionDispatch fields altogether,
but it doesn't make much sense to ha
Fix grammar in README.tuplock
Author: Brad DeJong
Discussion:
https://postgr.es/m/cajnrtnxra4fqzi0z6kgpqkmizkwv2xxgsdq+hv1jdrf8wck...@mail.gmail.com
Branch
--
master
Details
---
https://git.postgresql.org/pg/commitdiff/8a9b72c3ea40c1ca1094bdcfd21a5263aee806f2
Modified Files
---
Reduce path length for locking leaf B-tree pages during insertion
In our B-tree implementation appropriate leaf page for new tuple
insertion is acquired using _bt_search() function. This function always
returns leaf page locked in shared mode. In order to obtain exclusive
lock, caller have to re