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