Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgWnT-00087g-Sh for pgsql-committers@arkaria.postgresql.org; Thu, 27 Jun 2019 15:58:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hgWnS-0003Nf-MO for pgsql-committers@arkaria.postgresql.org; Thu, 27 Jun 2019 15:58:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgWnS-0003Lk-9I for pgsql-committers@lists.postgresql.org; Thu, 27 Jun 2019 15:58:50 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hgWnP-00065k-4v for pgsql-committers@lists.postgresql.org; Thu, 27 Jun 2019 15:58:49 +0000 Received: by mail-qt1-x842.google.com with SMTP id a15so2983067qtn.7 for ; Thu, 27 Jun 2019 08:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=r6x187CdK3ogFseRAkrTp3C7van/L+leIYviXGtJv2I=; b=R+NV00hu8DKu1X4fO3uLBvPQV0O20u1+OvcX+On3EqCSy+NAOmImtB0InAKpKV1jU7 TLewbcHHBw5lVvcty7nP+xPh9dZjpCl3I1kawIOWVmvprhyNo4+05H8vNIgJu12VE0UJ toH2Ac5cugEz2EmskHmdOoW1EaSnHzW0fVQqKQ015SGh2BH78g/iaArTEICaaVufNj5M Ee40++SsB+pnuzcdPnk/x6Yx8EIOR92KfwFTQm4qRzJk3p1xi6bymrv/b6NjYcQJ22eM PodqIGQIBIbk8LMCdHDs08kFB4FH6EnbMGgLk5K+X6rYm8+/+XMxJtKureIvygGe2m56 7RgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=r6x187CdK3ogFseRAkrTp3C7van/L+leIYviXGtJv2I=; b=o5/Eh9PXfHXBi8XTtZscb02C0oBe4uJAkLHCk0qCfX3VfhGp+5jk9RSQ9fC7bZuBFP 6sWoiQv1wLAH0pK6DtBwjKlEo2Ucag4EHcGjjc6iMaJqUbRk8i7N4uHQ+S2OBxL8MO1V EAjB6jW/bVauvdXfkJQz7iKjQJ0LGa4JCgPk8iF7NyWmtUDFGeibC2PMyohJnQ8+ASNh Fv5XWYQky6SOxSt/6SEJ61c+/InvBTvFgry088DPUbaRNz6XaIVh6jAZE81X/aFuGuM8 cTWw2oLi2XWnb6Fh6RNWIckOpZixwa93/VjQSBelew6XEp/I2uFBvLW+CY+PyMlMOOWt 2xCw== X-Gm-Message-State: APjAAAW/i8aOUhEJiWSVbLn7zUJDdHRac9Z9jmXXuhtwjsAxes33tDec KZ2Ih+BQNHizpXPEEZ7cIC37lQ== X-Google-Smtp-Source: APXvYqy7LxDVDwuWo5z+YuX/md7secsFNey/APpi82YJmXonPHi1bijzQ/ovHhzq92cLRFpRm6KaxA== X-Received: by 2002:ac8:1a7d:: with SMTP id q58mr3742876qtk.310.1561651125148; Thu, 27 Jun 2019 08:58:45 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id a23sm592572qtp.22.2019.06.27.08.58.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 08:58:44 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id BC45C120619; Thu, 27 Jun 2019 11:58:42 -0400 (-04) Date: Thu, 27 Jun 2019 11:58:42 -0400 From: Alvaro Herrera To: Amit Langote Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix partitioned index creation with foreign partitions Message-ID: <20190627155842.GA26254@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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