Re: default_tablespace doc and partitioned rels - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: default_tablespace doc and partitioned rels
Date
Msg-id 20210416210201.GK3315@telsasoft.com
Whole thread Raw
In response to Re: default_tablespace doc and partitioned rels  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: default_tablespace doc and partitioned rels  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On Fri, Apr 16, 2021 at 04:19:18PM -0400, Alvaro Herrera wrote:
> Maybe we can reword it in some other way.  "If this parameter is set
> when a partitioned table is created, it will become the default
> tablespace for future partitions too, even if default_tablespace itself
> is reset later" ...??

+1

I'd say:

If this parameter is set when a partitioned table is created, the partitioned
table's tablespace will be set to the given tablespace, and which will be the
default tablespace for partitions create in the future, even if
default_tablespace itself has since been changed.

-- 
Justin



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Error when defining a set returning function
Next
From: Matthias van de Meent
Date:
Subject: Re: Iterating on IndexTuple attributes and nbtree page-level dynamic prefix truncation