Andres Freund <andres@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?
regards, tom lane