TABLESPACE and directory for Foreign tables? - Mailing list pgsql-hackers

From Josh Berkus
Subject TABLESPACE and directory for Foreign tables?
Date
Msg-id 5367C9C0.6030401@agliodbs.com
Whole thread Raw
Responses Re: TABLESPACE and directory for Foreign tables?
Re: TABLESPACE and directory for Foreign tables?
List pgsql-hackers
All,

I'm working with the cstore_fdw project, which has an interesting
property for an FDW: the FDW itself creates the files which make up the
database.   This raises a couple of questions:

1) Do we want to establish a standard directory for FDWs which create
files, such as $PGDATA/base/{database-oid}/fdw/ ?  Or would we want to
leave it up to each FDW to decide?

2) Do we want to support the TABLESPACE directive for FDWs?

While cstore is the first FDW to create its own files, it won't
necessarily be the last; I could imagine CSV_FDW doing so as well, or a
future SQLite_FDW which does the same.  So I think the above questions
are worth answering in general.  And we're planning to implement
automated file management for cstore_fdw fairly soon, so we want to make
it consistent with whatever we're doing in Postgres 9.5.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: New and interesting replication issues with 9.2.8 sync rep
Next
From: Josh Berkus
Date:
Subject: Re: New and interesting replication issues with 9.2.8 sync rep