Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anbmQ-00042s-5B for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 00:57:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anbmP-0006W0-OH for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 00:57:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anbmP-0006Vu-BI for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 00:57:09 +0000 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1anbmL-0002do-Mz for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 00:57:08 +0000 Received: by mail-pf0-x22e.google.com with SMTP id c20so21681971pfc.1 for ; Tue, 05 Apr 2016 17:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kjyHa+nU4qouqDA+G5zCIvE+MS16By838hROEOQmMUU=; b=eY4ZUu/h58yGgs2ssPsuOzsDRIEBiP9M8275GwNmlx6RV94OctbrYa9UcEurVrWWSC dYBBy1/fnqF2sM+U0oDkKb6qF/0/rrz49qqAaEooWNgQW65936sbUI18Dvtt2/0Ehihb v1Xto0lgyEsLIW3LrFakNxeRiMV7jrwxZYsxg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kjyHa+nU4qouqDA+G5zCIvE+MS16By838hROEOQmMUU=; b=QZMy48ig4rKJNOsCVNUNvtahqUJoZC0XHoy3V1YyaBybP5cPeCzgU13FpgjHqrW0oZ yB8LZNUtiieyC6q/HNX3md7eV7qOOW3vil+WamGKOGZZ9aP3thmG2hW0nD32RBtCqDkJ E5QjGPdbU3MjnlTBuHazidBzYQSgY4e5h9eCjFkd0NGo4AL9FQ+RD3mpaqU4YXM6ifN6 DG80UMLROCaGGmJpXaeJl7vxpCRnjGi9bX7v2lyJpU/FWbTl84R4Pjjl+yiBvJZfg/e/ QAZ7HRo54sLRSa2X6/kNS2e7T92hxdWJN6dwWT2TgYb7t69JhAGgVQeUHDr/F/vSa9i5 O7wA== X-Gm-Message-State: AD7BkJLqQAlM8PBNE2JTI1csOm5JRqit6iqo/dsT6htOgKG25Nga2Hvn1j0uvDwOQDrRHQ== X-Received: by 10.98.87.4 with SMTP id l4mr33566608pfb.15.1459904223388; Tue, 05 Apr 2016 17:57:03 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id fk10sm262288pab.33.2016.04.05.17.57.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2016 17:57:02 -0700 (PDT) Date: Tue, 5 Apr 2016 20:57:00 -0400 From: Noah Misch To: Robert Haas Cc: Andres Freund , Michael Paquier , Haribabu Kommi , Thom Brown , pgsql-bugs , Fabien COELHO , "pgsql-hackers@postgresql.org" Subject: Re: Breakage with VACUUM ANALYSE + partitions Message-ID: <20160406005700.GA1664259@tornado.leadboat.com> References: <20160326123942.qnuwqg3yg2y7ae4p@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Mon, Apr 04, 2016 at 12:45:25PM -0400, Robert Haas wrote: > Backends shouldn't be requesting nonexistent blocks from a relation - > higher-level safeguards, like holding AccessExclusiveLock before > trying to complete a DROP or TRUNCATE - are supposed to prevent that. > If this patch is causing us to hold onto smgr references to a relation > on which we no longer hold locks, I think that's irretrievably broken > and should be reverted. I really doubt this will be the only thing > that goes wrong if you do that. +1 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs