Fix race condition that could allow two concurrent transactions
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtinsert.c | modified | +24 −7 |