]> granicus.if.org Git - postgresql/commit
tableam: Add helper for indexes to check if a corresponding table tuples exist.
authorAndres Freund <andres@anarazel.de>
Mon, 25 Mar 2019 23:52:55 +0000 (16:52 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 25 Mar 2019 23:52:55 +0000 (16:52 -0700)
commit71bdc99d0d7c3b2d73fa04fb2ff80870ce1305f7
tree543735343b99a2d3ebd2752130f26747d9f14eb3
parentaa1419e63f85b23503076bb4b6413aca30b535fe
tableam: Add helper for indexes to check if a corresponding table tuples exist.

This is, likely exclusively, useful to verify that conflicts detected
in a unique index are with live tuples, rather than dead ones.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/table/tableam.c
src/include/access/tableam.h