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

From Corey Huinker
Subject Re: make default TABLESPACE belong to target table.
Date
Msg-id CADkLM=dvrmc0-szzS=UDaZd3FUkb0=C98WbED0PNasGu66RH3w@mail.gmail.com
Whole thread Raw
In response to make default TABLESPACE belong to target table.  (Amos Bird <amosbird@gmail.com>)
Responses Re: make default TABLESPACE belong to target table.  (Amos Bird <amosbird@gmail.com>)
List pgsql-hackers
I'd like to implement this small feature --- making table's auxiliary
structures store their data to the target table's tablespace by default.
I've done a thorough search over the mailing list and there is nothing
relevant. Well I may miss some corners :-)

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.

 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: confusing checkpoint_flush_after / bgwriter_flush_after
Next
From: Bruce Momjian
Date:
Subject: Re: UNDO and in-place update