pgsql: Fix interference between cavering indexes and partitionedtables - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Fix interference between cavering indexes and partitionedtables
Date
Msg-id E1f6G3O-0002WZ-TV@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix interference between cavering indexes and partitionedtables  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-committers
Fix interference between cavering indexes and partitioned tables

The bug is caused due to the original IndexStmt that DefineIndex receives
being overwritten when processing the INCLUDE columns. Use separate list of
index params to propagate to child tables. Add tests covering this case.

Amit Langote and Alexander Korotkov.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5c6110c6a960ad6fe1b0d0fec6ae36ef4eb913f5

Modified Files
--------------
src/backend/commands/indexcmds.c       | 27 ++++++++++++++-------------
src/test/regress/expected/indexing.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/indexing.sql      | 19 +++++++++++++++++++
3 files changed, 57 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Add more information about logical replication privileges
Next
From: Teodor Sigaev
Date:
Subject: Re: pgsql: Fix interference between cavering indexes and partitionedtables