pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tableam: Add helper for indexes to check if a corresponding tabl
Date: Tue, 26 Mar 2019 00:34:26 +0000
Message-ID: <E1h8a2s-0003kk-Pf@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/71bdc99d0d7c3b2d73fa04fb2ff80870ce1305f7

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 17 ++++++++++-------
src/backend/access/nbtree/nbtsort.c   |  2 +-
src/backend/access/table/tableam.c    | 34 ++++++++++++++++++++++++++++++++++
src/include/access/tableam.h          | 25 +++++++++++++++++++------
4 files changed, 64 insertions(+), 14 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1h8a2s-0003kk-Pf@gemulon.postgresql.org>
Permalink:  ../E1h8a2s-0003kk-Pf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h8a2s-0003kk-Pf@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: tableam: Add helper for indexes to check if a corresponding tabl
  In-Reply-To: <E1h8a2s-0003kk-Pf@gemulon.postgresql.org>
  References: <E1h8a2s-0003kk-Pf@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox