Re: make default TABLESPACE belong to target table. - Mailing list pgsql-hackers

From Amos Bird
Subject Re: make default TABLESPACE belong to target table.
Date
Msg-id 87twavf0e6.fsf@gmail.com
Whole thread Raw
In response to Re: make default TABLESPACE belong to target table.  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
> I had a similar problem in writing the range_partitioning extension: CREATE
> TABLE y (LIKE x INCLUDING ALL) didn't set the tablespace of y to match x.
> I don't have a solution, I'm just indicating a similar need in userland.

Cool, I didn't think of that. It seems this feature is at least useful
for extension devs like us. I'll start coding a POC patch. What do you
think of making default tablespace derived from parent table?




pgsql-hackers by date:

Previous
From: Paul Ramsey
Date:
Subject: Re: User-defined Operator Pushdown and Collations
Next
From: Amos Bird
Date:
Subject: Re: make default TABLESPACE belong to target table.