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 1heNKQ-0002PR-GJ for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2019 17:27:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1heNKO-0001xx-Bc for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2019 17:27:56 +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 1heNKO-0001xq-3s for pgsql-bugs@lists.postgresql.org; Fri, 21 Jun 2019 17:27:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1heNKL-0004co-Fr for pgsql-bugs@lists.postgresql.org; Fri, 21 Jun 2019 17:27:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x5LHRlx2022892; Fri, 21 Jun 2019 13:27:47 -0400 From: Tom Lane To: Keith Fiske cc: Alvaro Herrera , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15865: ALTER TABLE statements causing "relation already exists" errors when some indexes exist In-reply-to: References: <20190620204505.GA22934@alvherre.pgsql> <25354.1561064909@sss.pgh.pa.us> <905.1561076455@sss.pgh.pa.us> <28827.1561082086@sss.pgh.pa.us> <19496.1561133520@sss.pgh.pa.us> Comments: In-reply-to Keith Fiske message dated "Fri, 21 Jun 2019 13:06:19 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22890.1561138067.1@sss.pgh.pa.us> Date: Fri, 21 Jun 2019 13:27:47 -0400 Message-ID: <22891.1561138067@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Keith Fiske writes: > On Fri, Jun 21, 2019 at 12:12 PM Tom Lane wrote: >> As before, I attach a patch against HEAD, plus one that assumes e76de8861 >> has been reverted first, which is likely easier to review. > Tested applying the patch against HEAD this time. Combined ALTER TABLE > again works without issue. Again, thanks for testing! regards, tom lane