pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix unique INCLUDE indexes on partitioned tables
Date: Mon, 14 Jan 2019 22:29:47 +0000
Message-ID: <E1gjAjr-0007BN-Ns@gemulon.postgresql.org> (raw)

Fix unique INCLUDE indexes on partitioned tables

We were considering the INCLUDE columns as part of the key, allowing
unicity-violating rows to be inserted in different partitions.

Concurrent development conflict in eb7ed3f30634 and 8224de4f42cc.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20190109065109.GA4285@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ad41cf537ea5f076273fcffa4c83a184bd9910f

Modified Files
--------------
src/backend/commands/indexcmds.c       | 2 +-
src/test/regress/expected/indexing.out | 3 +++
src/test/regress/sql/indexing.sql      | 1 +
3 files changed, 5 insertions(+), 1 deletion(-)



view thread (2+ messages)

Message-ID: <E1gjAjr-0007BN-Ns@gemulon.postgresql.org>
Permalink:  ../E1gjAjr-0007BN-Ns@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gjAjr-0007BN-Ns@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix unique INCLUDE indexes on partitioned tables
  In-Reply-To: <E1gjAjr-0007BN-Ns@gemulon.postgresql.org>
  References: <E1gjAjr-0007BN-Ns@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