pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: default_tablespace doc and partitioned rels
Date: Fri, 16 Apr 2021 16:02:01 -0500
Message-ID: <20210416210201.GK3315@telsasoft.com> (raw)
In-Reply-To: <20210416201918.GA4771@alvherre.pgsql>
References: <20210416143135.GI3315@telsasoft.com>
	<20210416201918.GA4771@alvherre.pgsql>

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





view thread (4+ messages)  latest in thread

Message-ID: <20210416210201.GK3315@telsasoft.com>
Permalink:  ../20210416210201.GK3315@telsasoft.com/
Also on:    postgresql.org/message-id/20210416210201.GK3315@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, alvherre@alvh.no-ip.org
  Subject: Re: default_tablespace doc and partitioned rels
  In-Reply-To: <20210416210201.GK3315@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox