Re: ALTER INDEX fails on partitioned index

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ALTER INDEX fails on partitioned index
Date: 2019-02-06 17:32:12
Message-ID: 20190206173212.GA23770@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-Jan-05, Justin Pryzby wrote:

> 12dev and 11.1:
>
> postgres=# CREATE TABLE t(i int)PARTITION BY RANGE(i);
> postgres=# CREATE INDEX ON t(i) WITH(fillfactor=11);
> postgres=# ALTER INDEX t_i_idx SET (fillfactor=12);
> ERROR: 42809: "t_i_idx" is not a table, view, materialized view, or index
> LOCATION: ATWrongRelkindError, tablecmds.c:5031
>
> I can't see that's deliberate,

So do you have a proposed patch?

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakub Glapa 2019-02-06 17:37:16 Re: pg11.1: dsa_area could not attach to segment
Previous Message Justin Pryzby 2019-02-06 17:19:40 Re: pg11.1: dsa_area could not attach to segment