Re: Native partitioning tablespace inheritance - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Native partitioning tablespace inheritance
Date
Msg-id 5bb6e645-6bcf-dcba-1dd0-14c95a80b683@2ndquadrant.com
Whole thread Raw
In response to Re: Native partitioning tablespace inheritance  (Keith Fiske <keith.fiske@crunchydata.com>)
List pgsql-hackers
On 4/11/18 17:19, Keith Fiske wrote:
> To me the current behavior is even more unintuitive. You tell it to put
> the parent table in a specific tablespace and it completely ignores the
> option and puts it in the default. Then when you go create children
> without specifying a tablespace, you don't see it going where you
> thought it would based on the parent's creation statement. Yes, you can
> tell each child where to go, but why not have at least a basic mechanism
> for setting a single tablespace value for a partition set into the
> parent itself the same way we're doing with indexes?
> 
> If you set the tablespace you want a partition set to be in by setting
> that on that parent, I think that's pretty intuitive. If you want
> children to be in a different tablespace than the partition's default,
> then you can tell it that at child creation.

I agree it should do one or the other, but not what it's doing now.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Partitioned tables and covering indexes
Next
From: Peter Geoghegan
Date:
Subject: Re: Partitioned tables and covering indexes