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 1hnxXe-0005ym-Sh for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2019 03:57:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnxXc-0001YL-HS for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2019 03:57:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnxXc-0001Xc-5Y for pgsql-bugs@lists.postgresql.org; Thu, 18 Jul 2019 03:57:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hnxXU-0004OK-IO for pgsql-bugs@lists.postgresql.org; Thu, 18 Jul 2019 03:57:10 +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 x6I3v3Kp028923; Wed, 17 Jul 2019 23:57:03 -0400 From: Tom Lane To: greg.amer@smxemail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15915: ALTER COLUMN SET DATA TYPE fails with index already exists In-reply-to: <15915-f692f7414eafb1bd@postgresql.org> References: <15915-f692f7414eafb1bd@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Thu, 18 Jul 2019 03:51:52 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28921.1563422223.1@sss.pgh.pa.us> Date: Wed, 17 Jul 2019 23:57:03 -0400 Message-ID: <28922.1563422223@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > When attempting to set the data type on multiple columns in a single sql > where the columns have indexes, the alter call fails. This previously worked > on 9.6.6. Thanks for the report! I believe this is the same issue already reported and fixed at https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=da1041fc3 At least, your example doesn't fail for me on 9.6 branch tip. regards, tom lane