pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthew Byrne <mjw.byrne@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: ALTER INDEX not working in 9.5.1?
Date: Mon, 07 Mar 2016 01:09:54 -0500
Message-ID: <11303.1457330994@sss.pgh.pa.us> (raw)
In-Reply-To: <CAE37PpPAsV8XvTo6jVMTayxzfKRtN5qOgP=ohofY6B18G25fTw@mail.gmail.com>
References: <CAE37PpPAsV8XvTo6jVMTayxzfKRtN5qOgP=ohofY6B18G25fTw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Matthew Byrne <mjw.byrne@gmail.com> 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:  <index_name> 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



view thread (5+ messages)  latest in thread

Message-ID: <11303.1457330994@sss.pgh.pa.us>
Permalink:  ../11303.1457330994@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11303.1457330994@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mjw.byrne@gmail.com
  Subject: Re: ALTER INDEX not working in 9.5.1?
  In-Reply-To: <11303.1457330994@sss.pgh.pa.us>
  References: <CAE37PpPAsV8XvTo6jVMTayxzfKRtN5qOgP=ohofY6B18G25fTw@mail.gmail.com> <11303.1457330994@sss.pgh.pa.us>

* 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