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 1k5Yfw-0004sc-W0 for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Aug 2020 18:07:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k5Yfv-0000Hz-UK for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Aug 2020 18:07:03 +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 1k5Yfv-0000Hn-O7 for pgsql-bugs@lists.postgresql.org; Tue, 11 Aug 2020 18:07:03 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5Yft-0000gK-NP for pgsql-bugs@lists.postgresql.org; Tue, 11 Aug 2020 18:07:02 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BEB9E5C00A7; Tue, 11 Aug 2020 14:07:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 11 Aug 2020 14:07:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=QuhB0JJLU8OritI6Os/Q++/jYK0 PvttcRVwFS+dyl+8=; b=P+6wZ5RAwpiJTWDQ/BHQq3V9JVPze9VYN/sQDwXK21/ H6yT9fCJ8VXtjaciJTLmhPKMJt1Jzb13gGac77ETJwsslELuIIY3A6XpuK4oIltr xBj01/j+6GQYizovLLPSczs5qLx1A4CEWRWehm4fuQN4/zgbRiNuUzFTyK1UCVvk j5OAz8fePWXFIXjTDfQOk1F7+4Jpnx92DBa3wtL4AL5G0CKx/oDbdQ99hgzbxe5s 44h8RbNlr4NaSVNrTflMgKclo6kgS8IixqlysQabvIgWmFusutPOjaUZrZKn0FAS fw2i9xGRIRSqvr/B+CWMkdQS4qUPD+QOijE7G2Cy5Ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=QuhB0J JLU8OritI6Os/Q++/jYK0PvttcRVwFS+dyl+8=; b=sMbk9/ckQ8A6YmCIJ5Iq8/ lf1Uu9CTRnqf5aeo2bZaC50c53D9ToxtxMX2XX/twUcl47akMQAV8UDtwc2XeUXy 3WdAhtkrKqSajGBS8X7x6xdA+07c0geboc2HlxyB0NwPVJNE2Ts43HYFstBwQ35/ les+Uczjk34etaxHvwZvUIJ51kRbWdJ8A57ViyKOQK6hAzWZxpCbswVCJzYy7J3v Jg4XWh2QzNFPmYMyXrrc+snhd02GGRw/cuUhFkjnzKD8+MqTS6Kr+n25Eo7Nqbqr 1kf76gbDKmPWzQgmeFOLF4ONduD3EgvaFTzBVpk67LVD3NXnkBq+05Tv9nO7ShRA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrledtgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucfkphepieejrdduiedtrddvudejrddvhedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 38823328005D; Tue, 11 Aug 2020 14:07:00 -0400 (EDT) Date: Tue, 11 Aug 2020 11:06:59 -0700 From: Andres Freund To: Tom Lane Cc: Robert Haas , Pavel Biryukov <79166341370@yandex.ru>, PostgreSQL mailing lists Subject: Re: posgres 12 bug (partitioned table) Message-ID: <20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de> References: <141051591267657@mail.yandex.ru> <1251598.1591289850@sss.pgh.pa.us> <3398357.1597160032@sss.pgh.pa.us> <1058041597161586@mail.yandex.ru> <18024.1597168320@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18024.1597168320@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2020-08-11 13:52:00 -0400, Tom Lane wrote: > For xmin in particular, you don't have to assume "everything's a heap". > What you have to assume is "everything uses MVCC", which seems a more > defensible position. It'll still fall down for foreign tables that are > partitions, though. Don't think that necessarily implies having a compatible xmin / xmax around. Certainly not a 32bit one. I guess an AM could always return InvalidOid, but that doesn't seem particularly helpful either. I think it'd be better if we actually tried to provide a way to do whatever xmin is being used properly. I've seen many uses of xmin/xmax and many of them didn't work at all, and most of remaining ones only worked in common cases. Greetings, Andres Freund