mirror of https://github.com/postgres/postgres
As observed by Heikki, we need not conflict on heap page locks during an insert; heap page locks are only aggregated tuple locks, they don't imply locking "gaps" as index page locks do. So we can avoid some unnecessary conflicts, and also do the SSI check while not holding exclusive lock on the target buffer. Kevin Grittner, reviewed by Jeff Davis. Back-patch to 9.1.REL9_1_STABLE
parent
57d3dc2035
commit
e5b86c93b6
Loading…
Reference in new issue