Re: pgsql: Fix partitioned index creation with foreign partitions

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix partitioned index creation with foreign partitions
Date: 2019-06-27 15:58:42
Message-ID: 20190627155842.GA26254@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2019-Jun-27, Amit Langote wrote:

> Anyway, the problem seems to use-after-close of a Relation pointer,
> which the attached patch fixes.

Indeed, thanks for tracking it down. Pushed. I couldn't resist the
temptation remove a no-longer-necessary tupdesc copy while at it.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2019-06-27 16:02:24 pgsql: Update reference to sampling algorithm in analyze.c
Previous Message Alvaro Herrera 2019-06-27 15:57:46 pgsql: Fix use-after-free introduced in 55ed3defc966