Re: pgsql: Fix partitioned index creation with foreign partitions - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Fix partitioned index creation with foreign partitions
Date
Msg-id 20190627155842.GA26254@alvherre.pgsql
Whole thread Raw
In response to Re: pgsql: Fix partitioned index creation with foreign partitions  (Amit Langote <amitlangote09@gmail.com>)
List 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



pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix use-after-free introduced in 55ed3defc966
Next
From: Tomas Vondra
Date:
Subject: pgsql: Update reference to sampling algorithm in analyze.c