pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix unique INCLUDE indexes on partitioned tables
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix unique INCLUDE indexes on partitioned tables
@ 2019-01-14 22:29  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2019-01-14 22:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/74aa7e046e4a3927d506bc651261724539f67139

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix unique INCLUDE indexes on partitioned tables
@ 2019-01-14 22:29  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2019-01-14 22:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-01-14 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 22:29 pgsql: Fix unique INCLUDE indexes on partitioned tables Alvaro Herrera <alvherre@alvh.no-ip.org>
2019-01-14 22:29 pgsql: Fix unique INCLUDE indexes on partitioned tables Alvaro Herrera <alvherre@alvh.no-ip.org>

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