Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3kg6-0002XJ-D7 for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Apr 2018 15:50:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3kg5-0001SW-HC for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Apr 2018 15:50:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3kg4-0001SM-Ez for pgsql-bugs@lists.postgresql.org; Wed, 04 Apr 2018 15:50:25 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3kg1-0001BG-5x for pgsql-bugs@lists.postgresql.org; Wed, 04 Apr 2018 15:50:23 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id A94F910AD; Wed, 4 Apr 2018 11:50:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 04 Apr 2018 11:50:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=kZh/33takDnrta48Q ZRv8NUZnpvMf6I6s13lD5CjPTk=; b=L3QaGf/sIzooo96SI4IJ7tw8T1arT5ocD yUpHaKZq0QZjeumacdMnMWeKd3LJuWTKhZUGm2pYWnRN+e1bK9+n8vfq/KaBnjjr vYR0sgRC1ROKWCBTVepbtjERnlZT7FAY8Kx60JcRCM2OKiZ0nCskOZDt3kw3Clxb nC+LXE6sxgqMRfuXFfgvbgJPMiAmFZTDhy3aliJ/PdUba9+1NLC4GEQw6hUeJxRg Lo6jloRhVUJyfR3YMAJ8DuhwWEZwZEJWtV69hD3ODPsmKIzZqtMWYftGJxYscq5n 980tWTEQK/nezdZXuDnxd+op12jyNaMfTaNWUjKNFA++Efbq68JgA== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 2137AE4923; Wed, 4 Apr 2018 11:50:18 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 0F99F5A7; Wed, 4 Apr 2018 12:50:16 -0300 (-03) Date: Wed, 4 Apr 2018 12:50:16 -0300 From: Alvaro Herrera To: molofeev Cc: Andrew Gierth , Tomas Vondra , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5 Message-ID: <20180404155016.ylskrkq4toczkk3u@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <635765c4-0e4d-2bef-fa76-69590cb06018@gmail.com> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk molofeev wrote: > Query 1:  select * from heap_page_items(get_raw_page('tablename',3220145)); In this one, t_infomask is 11011 for all the tuples, which is 0x2B03. HEAP_XMAX_IS_MULTI is 0x1000. I think you're looking at the wrong pages, probably because of synchronized_seqscans. I didn't look at the other pages. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services