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 20200228001114.GA16911@alvherre.pgsql
Whole thread Raw
In response to Re: ALTER INDEX fails on partitioned index  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
On 2020-Feb-27, Justin Pryzby wrote:

> The attached allows CREATE/ALTER to specify reloptions on a partitioned table
> which are used as defaults for future children.
> 
> I think that's a desirable behavior, same as for tablespaces.  Michael
> mentioned that ALTER INDEX ONLY doesn't exist, but that's only an issue if
> ALTER acts recursively, which isn't the case here.

I think ALTER not acting recursively is a bug that we would do well not
to propagate any further.  Enough effort we have to spend trying to fix
that already.  Let's add ALTER .. ONLY if needed.

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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: error context for vacuum to include block number
Next
From: Tomas Vondra
Date:
Subject: Allowing ALTER TYPE to change storage strategy