Re: BUG #16577: Segfault on altering a table located in a dropped tablespace

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2021-01-14T18:39:00Z
Lists: pgsql-bugs
On 2021-Jan-14, Michael Paquier wrote:

> Yeah, SHARED_DEPENDENCY_TABLESPACE is much better.  Perhaps I am just
> too much willing to add unnecessary defenses, so I am fine with any
> decision you'll take here.
> 
> In short, I am fine with what you have.  Thanks for taking the time to
> sort this stuff out.

Thanks for the review!  Pushed it to 11-master.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



Commits

  1. Prevent drop of tablespaces used by partitioned relations

  2. Don't create relfilenode for relations without storage