From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeremy Finzel <finzelj@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: ERROR could not access transaction/Could not open file pg_commit_ts
Date: Fri, 9 Mar 2018 15:40:52 -0300
Message-ID: <20180309184052.myncevkzh2iivbnt@alvherre.pgsql> (raw)
In-Reply-To: <CAMa1XUiZZ7vHM8qupUELa0QnazJ5aUjLm55AF9a1+ZjkGupznA@mail.gmail.com>
Jeremy Finzel wrote:
> UPDATE: what is actually failing is a call to
> pg_xact_commit_timestamp(xmin) on a given table under the view. We still
> think we must have some corruption though with pg_commit_ts.
This is not a valid query, because the xmin may belong to a frozen
tuple. pg_commit_ts does not keep data forever; old files are removed.
Anything older than datfrozenxid could return that error.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@alvh.no-ip.org, finzelj@gmail.com
Subject: Re: ERROR could not access transaction/Could not open file pg_commit_ts
In-Reply-To: <20180309184052.myncevkzh2iivbnt@alvherre.pgsql>
References: <CAMa1XUiZZ7vHM8qupUELa0QnazJ5aUjLm55AF9a1+ZjkGupznA@mail.gmail.com> <20180309184052.myncevkzh2iivbnt@alvherre.pgsql>
* 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