Fix race condition that could allow two concurrent transactions

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1ccc67600bce722ac6edd695e06b451ff75cdc4d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-01-01T20:32:37Z
Releases: 7.2.1
Fix race condition that could allow two concurrent transactions
to insert the same key into a supposedly unique index.  The bug is of
low probability, and may not explain any of the recent reports of
duplicated rows; but a bug is a bug.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +24 −7