Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXutO-0005sG-1k for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Jun 2018 20:48:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fXutL-00071L-C8 for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Jun 2018 20:48:47 +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.89) (envelope-from ) id 1fXutK-00071D-NX for pgsql-hackers@lists.postgresql.org; Tue, 26 Jun 2018 20:48:47 +0000 Received: from resqmta-ch2-11v.sys.comcast.net ([2001:558:fe21:29:69:252:207:43]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXutH-0004dN-0B for pgsql-hackers@postgresql.org; Tue, 26 Jun 2018 20:48:45 +0000 Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-11v.sys.comcast.net with ESMTP id Xp4FfJ5ZyeUvPXutCfyiKd; Tue, 26 Jun 2018 20:48:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1530046118; bh=0ZJj5fRXGQ3Yr8ZKi4S2xz+SwC/uUHticsBeMhtG/c8=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=Q0igUT3IUCptQVYEtmQ2Av4LowQaY21jMitokuI/ScJAlch+9eMy5ewqmgmw3xslr ZuupMxT/bhTCTf2MPh2GmDbI71LHdxbuST4AExcxkO3DVn+Ac42FFkdXfXOTJpefBB Ysy4fPovnk9PDxfHmDtzEGes7dznVHAtfrvRsk9UCTDbFk5x6eg6h+GWKRNnnpf5/B 5fBOKHaKKr+6i1KVXuzE9qLq2T3DBOnXZh4PrcVn2TCnYmNyKCGH6I0DFa1MvRETLN C9ftVvpqJXIYngmeCFIB3wrVluF//3wFXdEpJ0Z4S0Rwu8L7nk2PTGHahbxrlA4ueB rW6S2l4ZgqqWg== Received: from jsievers.comcast.net ([12.187.116.132]) by resomta-ch2-08v.sys.comcast.net with ESMTPA id XusnfjDaCkKd5XusofiCYZ; Tue, 26 Jun 2018 20:48:35 +0000 Received: from jsievers.enova.com (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id 9B114260056; Tue, 26 Jun 2018 15:48:13 -0500 (CDT) From: Jerry Sievers To: Matheus de Oliveira Cc: Andres Freund , Tom Lane , "Nasby\, Jim" , Alvaro Herrera , "pgsql-hackers\@postgresql.org" , Maxim Boguk , Peter Geoghegan , Jeremy Finzel Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid References: <20180525220531.43ia22l2d3jspbng@alap3.anarazel.de> <20180526204506.ql5pesq6t2jbpuy5@alap3.anarazel.de> <842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com> <10046.1527441741@sss.pgh.pa.us> <20180527200006.hbwa2h7nfuunmnza@alap3.anarazel.de> <20180528195206.6vqxcdhvfurlyhda@alap3.anarazel.de> <20180612003914.qlnrpovmbhorexik@alap3.anarazel.de> <20180612183150.sbja6go5lw7n622s@alap3.anarazel.de> <20180619155329.avakfyuavnznxypb@alap3.anarazel.de> Date: Tue, 26 Jun 2018 15:48:13 -0500 In-Reply-To: (Matheus de Oliveira's message of "Fri, 22 Jun 2018 13:25:05 -0300") Message-ID: <878t71xoj6.fsf@jsievers.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CMAE-Envelope: MS4wfJWXAlufDz+0h3qQkWBMZeubyDdO5sbZzY2E2n7ZcE4Xsg9naWdHiBEOVpjpH+TY7FJs6hmBrqszhXki29rGIRJEHTG5zoAyvN2OV/0dlDRRujFqlRs/ Ddoq+cAGdUmiDR2QKaKD/iZrkY2zakZAfnpgBKnS1rDFRvxpUzM3J7pu3Fn8t/uoCcfoES42NmV4sNtbA/dKep3n5lLMLirvCKtbbRzD1PFOViBQ3Nq9IZit 1qHMitp/aiEPiLHC6sqTkxg/i4hGi7qT6eJWOfni5El+DAVKmr3/F40RsoDfkBRbJdXjExoyrQEOCV24VSvUe+guyI0CK/7Ix7rDvJNrCbedN9cUcWrVK6hV k31ZI/MParVWmB6VdJO1hAVrIs5dgsdhtYHJQBPbI4U1K6gktIXlvrN7t9FUcmbkbxNSF3tHpUroCy3AzIHUUtU+iWZ4tQ== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hackers, felt like reporting this relevant tidbit in case of interest... My site is among the few who've hit this bug. We observed recently a case of pg_database having joined pg_authid and pg_auth_members in the bad xmin, unable to vacuum shcatalog group, however... pg_database then started working again without any intervention on our part so apparently due to some relevant system activity. We did later do a restart to correct the problem for those other 2 catalogs but , will try the global init file hack mentioned below later if/when we face this anew before running a fixed Pg version. Many thanks! Matheus de Oliveira writes: > Hello again... > > On Tue, Jun 19, 2018 at 12:53 PM, Andres Freund > wrote: > > ... > > After that, yes, deleting the > global/pg_internal.init file is the way to go, and I can't think > of a > case where it's problematic, even without stopping the server. > > > > Just to let you know. I applied the work around in the affected > server and seemed to work way, so far no error. > > Thank you a lot for all the information and help. > > Best regards, > -- > Matheus de Oliveira > > > > -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800