Re: patch : Allow toast tables to be moved to a different tablespace
Julien Tachoires <julmon@gmail.com>
From: Julien Tachoires <julmon@gmail.com>
To: Andreas Karlsson <andreas@proxel.se>, Alex Shulgin <ash@commandprompt.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
Jaime Casanova <jaime@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2015-03-17T08:00:38Z
Lists: pgsql-hackers
Attachments
- set_toast_tablespace_v0.15.patch.gz (application/gzip) patch v0
On 15/03/2015 20:27, Julien Tachoires wrote: > On 15/03/2015 04:34, Andreas Karlsson wrote: >> On 03/15/2015 04:25 AM, Andreas Karlsson wrote: >>> Nice. You will also want to apply the attached patch which fixes support >>> for the --no-tablespaces flag. >> >> Just realized that --no-tablespaces need to be fixed for pg_restore too. > > Indeed, after taking a look at pg_restore case, I would say it won't be > so easy. > Will try to fix it. Here is a new version fixing this issue. I've added a new kind of TOC entry for being able to handle pg_restore --no-tablespace case. -- Julien