On 2 Sep. 2016 8:30 pm, "Simon Riggs" <si...@2ndquadrant.com> wrote: > > On 2 September 2016 at 13:16, Craig Ringer <cr...@2ndquadrant.com> wrote: > > > So I've moved it to xlog.c... > > I'm pretty sure it shouldn't live in xlog.c, but there may be some > good reason I can't see yet.
Ugh. Yes. transam.c would be rather saner. Only for the helper to determine if an xid is recent though; txid_ status stays in adt/xact.c where it belongs along with txid_current() etc. > -- > Simon Riggs http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services