Re: pgsql: Fix interference between cavering indexes and partitioned tables

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix interference between cavering indexes and partitioned tables
Date: 2018-04-11 14:03:02
Message-ID: 9ac1a77e-1af1-8da7-7d23-a54d1eaa20d7@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Seems, something is wrong here, investigating...

Teodor Sigaev wrote:
> 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(-)
>

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-04-11 14:36:59 pgsql: Fix clashing function names between jsonb_plperl and jsonb_plper
Previous Message Teodor Sigaev 2018-04-11 13:44:50 pgsql: Fix interference between cavering indexes and partitioned tables