pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johannes Graën <johannes@selfnet.de>
To: pgsql-general@postgresql.org
Subject: found xmin x from before relfrozenxid y
Date: Sun, 21 Oct 2018 11:27:20 +0200
Message-ID: <0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de> (raw)

Hi,

after upgrading to version 11, I see the error pattern "found xmin x
from before relfrozenxid y" in different databases on different hosts.

From https://www.postgresql.org/docs/10/static/release-10-3.html, I
learned that this was an error caused by pg_upgrade, which apparently
had been fixed in 10.3. This page also states that refreshing the
affected materialized view non-concurrently would fix the problem.

My question is now how to infer the affected materialized view from the
error message. Is there a way to tell which one to refresh from the xmin
or relfrozenxid value?

Best
  Johannes

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (5+ messages)  latest in thread

Message-ID: <0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de>
Permalink:  ../0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de/
Also on:    postgresql.org/message-id/0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de

 · 

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: johannes@selfnet.de
  Subject: Re: found xmin x from before relfrozenxid y
  In-Reply-To: <0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de>
  References: <0662ea90-5249-4b8d-faa3-4abe4c88135a@selfnet.de>

* 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