Re: make default TABLESPACE belong to target table.

From: Amos Bird <amosbird(at)gmail(dot)com>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: make default TABLESPACE belong to target table.
Date: 2016-11-26 02:19:45
Message-ID: 87twavf0e6.fsf@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amos Bird 2016-11-26 02:25:01 Re: make default TABLESPACE belong to target table.
Previous Message Paul Ramsey 2016-11-26 00:14:57 Re: User-defined Operator Pushdown and Collations