Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore
Date
Msg-id 20429.1406238373@sss.pgh.pa.us
Whole thread Raw
In response to BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore  (s.zuban@gmail.com)
Responses Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore
Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore
List pgsql-bugs
s.zuban@gmail.com writes:
> After upgrade from 9.3.4 to 9.3.5 pg_last_xact_replay_timestamp() returns
> outdated timestamp.

> It stopped working properly after commit
> d19bd29f07aef9e508ff047d128a4046cc8bc1e2

Really?

It looks to me like this never worked: the code around recoveryStopsHere
has never paid any attention to COMMIT_PREPARED (or ABORT_PREPARED).
Certainly that patch had zip to do with the replay-timestamp behavior.

If you think it worked before, I'd like to see what your test case was.

            regards, tom lane

pgsql-bugs by date:

Previous
From: s.zuban@gmail.com
Date:
Subject: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore
Next
From: Andres Freund
Date:
Subject: Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore