From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Matthew Byrne <mjw(dot)byrne(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: ALTER INDEX not working in 9.5.1? |
Date: | 2016-03-07 06:16:27 |
Message-ID: | CAKFQuwbp0sB-=KPvrivoOHKdSSgZG6Ep8NaN9HY8JEE2qUvqSQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Sun, Mar 6, 2016 at 11:09 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Matthew Byrne <mjw(dot)byrne(at)gmail(dot)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?
>
version
PostgreSQL 9.5.1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu
4.8.2-19ubuntu1) 4.8.2, 64-bit
apt.postgresql.org/Ubuntu 14.04
I didn't do the tablespace query but the two setups and the ALTER INDEX
... RENAME worked for me.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Venkata Balaji N | 2016-03-07 06:37:52 | Re: ALTER INDEX not working in 9.5.1? |
Previous Message | Tom Lane | 2016-03-07 06:09:54 | Re: ALTER INDEX not working in 9.5.1? |