Re: found xmin from before relfrozenxid on pg_catalog.pg_authid

From: Andres Freund <andres(at)anarazel(dot)de>
To: "Nasby, Jim" <nasbyj(at)amazon(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>,"pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>,Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>,Peter Geoghegan <pg(at)bowt(dot)ie>,Jeremy Finzel <finzelj(at)gmail(dot)com>
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Date: 2018-05-27 17:02:13
Message-ID: D670D841-C88B-4D28-B852-16ABBDBA5F88@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On May 27, 2018 9:39:49 AM PDT, "Nasby, Jim" <nasbyj(at)amazon(dot)com> wrote:
>On May 26, 2018, at 1:45 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
>> Does anybody see a way to not have to remove the .init file?
>
>How about only keeping the critical info for being able to find
>relations in the .init files, and then fully populate the cache by
>doing a normal lookup? Since there’s multiple entries needed to
>bootstrap things I guess there’d need to be a flag in relcache to
>indicate that an existing entry wasn’t fully formed.

Then the cache wouldn't have any benefits, no? It's been a while, but last time I checked it does make quite a measurable performance difference in a new backend.

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2018-05-27 17:22:21 Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Previous Message Nasby, Jim 2018-05-27 16:39:49 Re: found xmin from before relfrozenxid on pg_catalog.pg_authid

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-05-27 17:22:21 Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Previous Message Nasby, Jim 2018-05-27 16:39:49 Re: found xmin from before relfrozenxid on pg_catalog.pg_authid