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 1exyrZ-0004kq-8V for pgsql-general@arkaria.postgresql.org; Mon, 19 Mar 2018 17:46:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exyrY-0007BK-92 for pgsql-general@arkaria.postgresql.org; Mon, 19 Mar 2018 17:46:24 +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 1exyrX-0007B3-N9 for pgsql-general@lists.postgresql.org; Mon, 19 Mar 2018 17:46:24 +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 1exyrU-0004e7-Op for pgsql-general@postgresql.org; Mon, 19 Mar 2018 17:46:22 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id AF7191203; Mon, 19 Mar 2018 13:46:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 19 Mar 2018 13:46:19 -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=ETGtjD4yG36l1mPrE 8R6BKFodO89yXZ2P8lA4TCi1RY=; b=feSm3d0lNd3F7WPJoFbwpPFTpVxaOgLJT xqBOPGEX9AWlxn5MMGLItjmZ47WSZKNcmvdM7BXTFhI8pzFC9poMxGshHkaiu1gv KpzRwteMmprulQRWxqH4bCcpf3sttQE2C82ikINqpOqyH9wTV7e3kUyptpNdTAgD 0KxqbTEiH2ESWsT0q7OlZTZofUVJFpEsk0M6tNMCc7+fK6vSxgiuoQeH1c9DnKkZ el2EpAOIzpQkRnCxxnsoUvT+bzpeNLlBhd7mtFxpCm4i8GF3Xifgk/Y3RAz3Vely lCACzQmfvRkvAjt8n0cGwmYJdNSjaNLHX6UqL9NndnZa6B7zUOZgg== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id C1E9E24281; Mon, 19 Mar 2018 13:46:18 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 65CFE538; Mon, 19 Mar 2018 14:46:16 -0300 (-03) Date: Mon, 19 Mar 2018 14:46:16 -0300 From: Alvaro Herrera To: Jeremy Finzel Cc: Postgres General , Andres Freund Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid Message-ID: <20180319174616.emzynyhvm2j3sby3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jeremy Finzel wrote: > Getting some concerning errors in one of our databases that is on 9.5.11, > on autovacuum from template0 database pg_authid and pg_auth_members. I > only saw some notes on the list about this error related to materialized > views. FWIW, we did use pg_upgrade to upgrade this database from 9.4 to > 9.5. Here is an example: > > 2018-03-19 12:08:33.946 CDT,,,14892,,5aafee91.3a2c,1,,2018-03-19 12:08:33 > CDT,59/340951,0,ERROR,XX001,"found xmin 2906288382 from before relfrozenxid > 740087784",,,,,"automatic vacuum of table > ""template0.pg_catalog.pg_authid""",,,,"" Can you please supply output of pg_controldata? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services