Robert Ross <rross(at)translattice(dot)com> writes:
> I have looked at the Postgres 9.2 stable and Postgres 9.2 beta 3 git
> archives and this bug still appears to be present.
> TwoPhaseGetDummyProc returns a PGPROC*. In 9.0, it was safe for
> TwoPhaseGetDummyBackendId() to cast this to a GlobalTransaction
> because the GlobalTransactionData structure's first element was always
> a PGPROC structure. However, in 9.2 this is no longer true.
Clearly an oversight in commit ed0b409d22346b1b027a4c2099ca66984d94b6dd
:-(. Will fix, thanks for the report!
regards, tom lane