Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFnT3-0005kq-Qk for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Sep 2020 23:56:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kFnT2-0003A2-Mq for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Sep 2020 23:56:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFnT2-00039u-CR for pgsql-bugs@lists.postgresql.org; Tue, 08 Sep 2020 23:56:04 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kFnSv-0004kI-UD for pgsql-bugs@lists.postgresql.org; Tue, 08 Sep 2020 23:56:03 +0000 Received: by mail-ej1-x643.google.com with SMTP id j11so933557ejk.0 for ; Tue, 08 Sep 2020 16:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=z+QC/HZjt5xTnBg3ffyCJ4A5IAmYOz220eO/SLoHEXQ=; b=sEvwThQD5LZv57R81EVVRzFAC1v7cKJ6tLpOzzlxp0CGb677CLKCCejpDtSy7UZp9u W+9RFPFPEMqFUS7FFl554oG+EcAXXvGGHuJt45IvUHvtFCPUPzB+WrCtWM0/IRvk6el9 +C6vVsZnHW66yD8lD6lPErnZP9FoX888fWq+pJeh2+ge+gmKjtrO8kCwy5khUIIplfg4 GW/xsCaXOIYSC3o0cSlp+Ju1C2WNeTOdeFPG6E27k7Ity5Cc9+Xkk6MlnxDyvHAaj/XI pr5dFEz2PeyaD3QNxXHz9hgl0MeFkgtl1VF8+Y0hn4adn7wnGA1CNmBVyx5ditMYcDjQ Ipqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=z+QC/HZjt5xTnBg3ffyCJ4A5IAmYOz220eO/SLoHEXQ=; b=Wt4STmtsd70fuNcwb/JmCB4gpIkRqfmK6SW63Vw4Lk3PtStnBzPcx5JQbGHLSAeLJ1 EADEQY91U14+oCeMiJ1nmbLHP0O8LLhhdQ4iAA1x3kGmfw6Cz/h6wdiuV0anftkGAjvS VBhbIIqDlDKDP/OiOj4lbFvoIaN3+mb872GEozL0ITWJLJZ1qnYeW7jvkIINGTIXqw2Q alw+DlX9KJaMjxafZql9nmc5eHEadGGsaE4TLWyF67S/JWBkn0gcbkzJry6njBEtYJno RjkaCVWIJqWxzXzDW/btg2MF6gZNKM4Zm3ZaVNe8NImXP1V/DppLAwLysXXXQsQ0z4B8 aOFQ== X-Gm-Message-State: AOAM533oMnHf8J4j3ATF1PizB+strOQpsaxJQ0wd21K9w7WhtljEEUhO 1bb0d9f6mNO+05sV4qf3ucsXwA== X-Google-Smtp-Source: ABdhPJyKMy/W7JUZdzWYRRhZccExDwcu9nC0+1kOklB7udYceKFP2jJeV7480NZViak1hGKLW5hdIg== X-Received: by 2002:a17:906:4e54:: with SMTP id g20mr1006042ejw.252.1599609356264; Tue, 08 Sep 2020 16:55:56 -0700 (PDT) Received: from localhost (ip-86-49-253-216.net.upcbroadband.cz. [86.49.253.216]) by smtp.gmail.com with ESMTPSA id i17sm496182ejy.79.2020.09.08.16.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 16:55:55 -0700 (PDT) Date: Wed, 9 Sep 2020 01:55:53 +0200 From: Tomas Vondra To: Alvaro Herrera Cc: Michael Paquier , Tom Lane , exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16577: Segfault on altering a table located in a dropped tablespace Message-ID: <20200908235553.7tbd6xjvnohv2xel@development> References: <20200908074522.GG19261@paquier.xyz> <20200908213729.GA14993@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200908213729.GA14993@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Sep 08, 2020 at 06:37:29PM -0300, Alvaro Herrera wrote: >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. > Would it actually solve the issue? ISTM we'd still have to expect cases with partitioned tables without storage, so presumably we'd have to do something else ... regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services