Re: tracking commit timestamps - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: tracking commit timestamps
Date
Msg-id 20150309204628.GS3291@alvh.no-ip.org
Whole thread Raw
In response to Re: tracking commit timestamps  (Petr Jelinek <petr@2ndquadrant.com>)
List pgsql-hackers
Petr Jelinek wrote:

> >>On Thu, Dec 4, 2014 at 12:08 PM, Fujii Masao <masao.fujii@gmail.com>
> >>wrote:

> >>>I got the following assertion failure when I executed
> >>>pg_xact_commit_timestamp()
> >>>in the standby server.
> >>>
> >>>=# select pg_xact_commit_timestamp('1000'::xid);
> >>>TRAP: FailedAssertion("!(((oldestCommitTs) != ((TransactionId) 0)) ==
> >>>((newestCommitTs) != ((TransactionId) 0)))", File: "commit_ts.c",
> >>>Line: 315)

> >Attached patch fixes it, I am not sure how happy I am with the way I did
> >it though.

Pushed, thanks.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: Calling for a replacement committer for GROUPING SETS
Next
From: Jim Nasby
Date:
Subject: Re: Question about lazy_space_alloc() / linux over-commit