Re: pg_dump is broken for partition tablespaces
David Rowley <david.rowley@2ndquadrant.com>
From: David Rowley <david.rowley@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-04-16T12:15:12Z
Lists: pgsql-hackers
On Mon, 15 Apr 2019 at 15:26, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > > On 2019-Apr-15, David Rowley wrote: > > > To be honest, if I'd done a better job of thinking through the > > implications of this tablespace inheritance in ca4103025d, then I'd > > probably have not bothered submitting a patch for it. We could easily > > revert that, but we'd still be left with the same behaviour in > > partitioned indexes, which is in PG11. > > Well, I suppose if we do decide to revert it for tables, we should do it > for both tables and indexes. But as I said, I'm not yet convinced that > this is the best way forward. Ok. Any ideas or suggestions on how we move on from here? It seems like a bit of a stalemate. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Make pg_dump emit ATTACH PARTITION instead of PARTITION OF (reprise)
- 6a781c4f5fec 11.4 landed
- 33a53130a894 12.0 landed
- 1eb8a5ea463d 10.9 landed
-
Fix tablespace inheritance for partitioned rels
- 87259588d0ab 12.0 landed
-
Make pg_dump emit ATTACH PARTITION instead of PARTITION OF
- a98c48debcd0 11.3 landed
- 5a191f697400 10.8 landed
- 3b23552ad8bb 12.0 landed
-
Make sure ALTER TABLE preserves index tablespaces.
- bd673e8e864a 10.0 cited