Re: [PATCH] Transaction traceability - txid_status(bigint)
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Jim Nasby <Jim.Nasby@bluetreble.com>
Date: 2016-09-02T12:16:53Z
Lists: pgsql-hackers
Attachments
- 0001-Introduce-txid_status-bigint-to-get-status-of-an-xac.patch (text/x-patch) patch 0001
- 0002-Add-txid_convert_if_recent-to-get-the-32-bit-xid-fro.patch (text/x-patch) patch 0002
Here's another update to these patches. While working on support for logical decoding on standbys I noticed that I needed something like get_xid_in_recent_past(...) there too. So I've moved it to xlog.c as TransactionIdInRecentPast too and flipped its arguments to be more convenient. No other changes. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Add a txid_status function.
- 857ee8e391ff 10.0 landed
-
Track the oldest XID that can be safely looked up in CLOG.
- ea42cc18c353 10.0 landed