Hi, On 2020-08-16 17:28:46 -0400, Tom Lane wrote: > Andres Freund <and...@anarazel.de> writes: > > For the first, one issue is that there's no obviously good candidate for > > an uninitialized xid. We could use something like FrozenTransactionId, > > which may never be in the procarray. But it's not exactly pretty. > > Huh? What's wrong with using InvalidTransactionId?
It's a normal value for a backend when it doesn't have an xid assigned. Greetings, Andres Freund