aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-08 11:52:06 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-08 11:52:06 -0400
commit5cf2307c98f6daeac3d42e74f4e2d46ab3bf0a80 (patch)
tree0cffae9f29e336814939046314e57abbc74cc41f /src/backend/utils/adt/xml.c
parent7d947ec82ac8a7d6a6ce8acf08067dd69098d6cd (diff)
downloadpostgresql-5cf2307c98f6daeac3d42e74f4e2d46ab3bf0a80.tar.gz
postgresql-5cf2307c98f6daeac3d42e74f4e2d46ab3bf0a80.zip
Fix TwoPhaseGetDummyBackendId().
This was broken in commit ed0b409d22346b1b027a4c2099ca66984d94b6dd, which revised the GlobalTransactionData struct to not include the associated PGPROC as its first member, but overlooked one place where a cast was used in reliance on that equivalence. The most effective way of fixing this seems to be to create a new function that looks up the GlobalTransactionData struct given the XID, and make both TwoPhaseGetDummyBackendId and TwoPhaseGetDummyProc rely on that. Per report from Robert Ross.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions