pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: Matheus de Oliveira <matioli.matheus@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nasby\, Jim <nasbyj@amazon.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers\@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Jeremy Finzel <finzelj@gmail.com>
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Date: Tue, 26 Jun 2018 15:48:13 -0500
Message-ID: <878t71xoj6.fsf@jsievers.enova.com> (raw)
In-Reply-To: <CAJghg4+BBN04ifAEG+0k11AicWBsb7Q50nKUkh5qLgOxKmQfiA@mail.gmail.com>
References: <20180525220531.43ia22l2d3jspbng@alap3.anarazel.de>
	<20180526204506.ql5pesq6t2jbpuy5@alap3.anarazel.de>
	<842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com>
	<D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de>
	<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>
	<CAJghg4JA_GrA5X3VK4TYf4x+KtP5S-b+YnxhzAq9uFidCJKeBw@mail.gmail.com>
	<20180619155329.avakfyuavnznxypb@alap3.anarazel.de>
	<CAJghg4+BBN04ifAEG+0k11AicWBsb7Q50nKUkh5qLgOxKmQfiA@mail.gmail.com>

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 <matioli.matheus@gmail.com> writes:

> Hello again...
>
> On Tue, Jun 19, 2018 at 12:53 PM, Andres Freund <andres@anarazel.de>
> 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




view thread (78+ messages)  latest in thread

Message-ID: <878t71xoj6.fsf@jsievers.enova.com>
Permalink:  ../878t71xoj6.fsf@jsievers.enova.com/
Also on:    postgresql.org/message-id/878t71xoj6.fsf@jsievers.enova.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gsievers19@comcast.net, matioli.matheus@gmail.com, andres@anarazel.de, tgl@sss.pgh.pa.us, nasbyj@amazon.com, alvherre@2ndquadrant.com, pgsql-hackers@postgresql.org, maxim.boguk@gmail.com, pg@bowt.ie, finzelj@gmail.com
  Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
  In-Reply-To: <878t71xoj6.fsf@jsievers.enova.com>
  References: <20180525220531.43ia22l2d3jspbng@alap3.anarazel.de> <20180526204506.ql5pesq6t2jbpuy5@alap3.anarazel.de> <842C9FB7-B9FB-43B9-AF28-9C5324F23ED8@amazon.com> <D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de> <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> <CAJghg4JA_GrA5X3VK4TYf4x+KtP5S-b+YnxhzAq9uFidCJKeBw@mail.gmail.com> <20180619155329.avakfyuavnznxypb@alap3.anarazel.de> <CAJghg4+BBN04ifAEG+0k11AicWBsb7Q50nKUkh5qLgOxKmQfiA@mail.gmail.com> <878t71xoj6.fsf@jsievers.enova.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox