Обсуждение: pgsql: Fix unique INCLUDE indexes on partitioned tables

Поиск
Список
Период
Сортировка

pgsql: Fix unique INCLUDE indexes on partitioned tables

От
Alvaro Herrera
Дата:
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(-)