Trying to revive this patch which attempts to support logical decoding of two phase transactions. I've rebased and polished Nikhil's patch on the current HEAD. Some of the logic in the previous patchset has already been committed as part of large-in-progress transaction commits, like the handling of concurrent aborts, so all that logic has been left out. I think some of the earlier comments have already been addressed or are no longer relevant. Do have a look at the patch and let me know what you think.I will try and address any pending issues going forward.