pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16577: Segfault on altering a table located in a dropped tablespace
Date: Mon, 11 Jan 2021 20:42:44 -0300
Message-ID: <20210111234244.GA13830@alvherre.pgsql> (raw)
In-Reply-To: <20201015151959.GA6823@alvherre.pgsql>

On 2020-Oct-15, Alvaro Herrera wrote:

> It just dawned on me that a way to fix this is to use a pg_shdepend
> entry to protect the tablespace from being dropped.

Here's a proposed patch for this.

-- 
Álvaro Herrera

Attachments:

  0001-Prevent-drop-of-tablespace-used-by-partitioned-relat.patch (text/x-diff, 0B) download

view thread (22+ messages)  latest in thread

Message-ID: <20210111234244.GA13830@alvherre.pgsql>
Permalink:  ../20210111234244.GA13830@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210111234244.GA13830@alvherre.pgsql

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@alvh.no-ip.org, tomas.vondra@2ndquadrant.com, michael@paquier.xyz, tgl@sss.pgh.pa.us, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16577: Segfault on altering a table located in a dropped tablespace
  In-Reply-To: <20210111234244.GA13830@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox