Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acoMo-0008Lv-JH for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Mar 2016 06:10:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acoMo-0004ec-1T for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Mar 2016 06:10:06 +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_SHA384:256) (Exim 4.84) (envelope-from ) id 1acoMn-0004cw-5u for pgsql-bugs@postgresql.org; Mon, 07 Mar 2016 06:10:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acoMf-0004pN-5t for pgsql-bugs@postgresql.org; Mon, 07 Mar 2016 06:10:04 +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 u2769sf2011304; Mon, 7 Mar 2016 01:09:54 -0500 From: Tom Lane To: Matthew Byrne cc: pgsql-bugs@postgresql.org Subject: Re: ALTER INDEX not working in 9.5.1? In-reply-to: References: Comments: In-reply-to Matthew Byrne message dated "Sat, 05 Mar 2016 15:32:21 +0400" Date: Mon, 07 Mar 2016 01:09:54 -0500 Message-ID: <11303.1457330994@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Matthew Byrne writes: > The commands "ALTER INDEX ... RENAME TO..." and "ALTER INDEX ... SET > TABLESPACE ..." seem to work as expected in PostgreSQL 9.4.5 but in 9.5.1 > they fail with "ERROR: is an index". [ scratches head... ] Your test case works OK for me. Admittedly, I'm checking 9.5-branch-from-a-day-or-two-back rather than exactly release 9.5.1; but if we'd broken and then fixed something as basic as that, I expect we'd know about it. Is this on a clean compile of 9.5.1 community sources? Using what compiler exactly, on what platform? Maybe you've got something like a badly-written event trigger installed? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs