pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: 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, 09 Mar 2018 14:24:38 -0600
Message-ID: <87y3j1q9o9.fsf@jsievers.enova.com> (raw)
In-Reply-To: <20180309184052.myncevkzh2iivbnt@alvherre.pgsql>
References: <20180309184052.myncevkzh2iivbnt@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:

> 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.

Ok but what does it mean if the error is raised only on both streaming
standbys but not on master?

We took a quick look to verify, just in terms of pg_commit_ts file
names, between master and standbys to find no differences.

Thanks

-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800




view thread (4+ messages)

Message-ID: <87y3j1q9o9.fsf@jsievers.enova.com>
Permalink:  ../87y3j1q9o9.fsf@jsievers.enova.com/
Also on:    postgresql.org/message-id/87y3j1q9o9.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, 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: <87y3j1q9o9.fsf@jsievers.enova.com>
  References: <20180309184052.myncevkzh2iivbnt@alvherre.pgsql> <87y3j1q9o9.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