pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix partitioned index creation with foreign partitions
Date: Thu, 27 Jun 2019 11:58:42 -0400
Message-ID: <20190627155842.GA26254@alvherre.pgsql> (raw)
In-Reply-To: <CA+HiwqGV=k_Eh4jBiQw66ivvdG+EUkrEYeHTYL1SvDj_YOYV0g@mail.gmail.com>

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





view thread (5+ messages)

Message-ID: <20190627155842.GA26254@alvherre.pgsql>
Permalink:  ../20190627155842.GA26254@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190627155842.GA26254@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@2ndquadrant.com, amitlangote09@gmail.com
  Subject: Re: pgsql: Fix partitioned index creation with foreign partitions
  In-Reply-To: <20190627155842.GA26254@alvherre.pgsql>
  References: <CA+HiwqGV=k_Eh4jBiQw66ivvdG+EUkrEYeHTYL1SvDj_YOYV0g@mail.gmail.com> <20190627155842.GA26254@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox