Print global transaction info for commit prepared WAL records
Print global transaction info for commit prepared WAL records

When creating WAL records for a twophase commit, we add the global
transaction info to distributed commit and distributed forget records
on the query dispatcher and to the commit prepared records on the
query executors. However, pg_xlogdump only prints this information for
the distributed commit and distributed forget records. We should do
the same for commit prepared records to more easily string together
transactions between QD and QE when comparing xlog dumps.

On query dispatcher:
distributed commit 2019-06-11 15:16:17.786319 PDT gid = 1560291226-0000000006, gxid = 6
distributed forget  gid = 1560291226-0000000006, gxid = 6

On query executor:
commit prepared 747: 2019-06-11 15:16:17.786660 PDT

Change query executor output to:
commit prepared 747: 2019-06-11 15:16:17.786660 PDT gid = 1560291226-0000000006 gxid = 6

jmcatamney/gpdb,50wu/gpdb,xinzweb/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,adam8157/gpdb,adam8157/gpdb,ashwinstar/gpdb,50wu/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,50wu/gpdb,50wu/gpdb,50wu/gpdb,jmcatamney/gpdb,lisakowen/gpdb,xinzweb/gpdb,greenplum-db/gpdb,lisakowen/gpdb,greenplum-db/gpdb,adam8157/gpdb,lisakowen/gpdb,xinzweb/gpdb,xinzweb/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,lisakowen/gpdb,xinzweb/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,jmcatamney/gpdb,xinzweb/gpdb,lisakowen/gpdb,jmcatamney/gpdb,50wu/gpdb,50wu/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,xinzweb/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,adam8157/gpdb,adam8157/gpdb,50wu/gpdb,ashwinstar/gpdb,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,adam8157/gpdb,xinzweb/gpdb,lisakowen/gpdb