Re: ALTER INDEX fails on partitioned index - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ALTER INDEX fails on partitioned index
Date
Msg-id 20190206173212.GA23770@alvherre.pgsql
Whole thread Raw
In response to ALTER INDEX fails on partitioned index  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: ALTER INDEX fails on partitioned index
List 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


pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: pg11.1: dsa_area could not attach to segment
Next
From: Jakub Glapa
Date:
Subject: Re: pg11.1: dsa_area could not attach to segment