Re: BUG #16577: Segfault on altering a table located in a dropped tablespace
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2020-09-08T21:37:29Z
Lists: pgsql-bugs
On 2020-Sep-08, Michael Paquier wrote: > On Tue, Aug 11, 2020 at 04:04:07PM +0900, Michael Paquier wrote: > > Hmm. Creating a file for partitioned table would be a completely new > > thing as well. heap_create() has never created a file for partitioned > > tables since 10 so this could open to a new class of bugs. > > This thread has stalled for a couple of weeks now, and I would tend to > take the path where we'd basically revert 8725958 and ca41030. That's > too late for v13 to do anything about that. But not for 14. Any > opinions? Well, naturally I oppose this idea. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Prevent drop of tablespaces used by partitioned relations
- ebfe2dbd6b62 14.0 landed
- c9b702552acc 12.6 landed
- c442b32c2e6d 11.11 landed
- 5b01a6f13ff7 13.2 landed
-
Don't create relfilenode for relations without storage
- 807ae415c546 12.0 cited