Re: [PATCH] Fix CommitTransactionCommand() to CallXactCallbacks() in TBLOCK_ABORT_END

2020-03-28 Thread Dave Sharpe
From Gilles Darold on 2020-03-26T16:09:04. > Actually the callback function is called when the error is thrown: > psql:eat_rollback2.sql:20: INFO: 0: myTransactionCallback() XactEvent 2 > (is abort) level 1 <- > LOCATION: myTransactionCallback, eat_rollback.c:52 > psql:eat_

Re: [PATCH] Fix CommitTransactionCommand() to CallXactCallbacks() in TBLOCK_ABORT_END

2020-03-26 Thread Gilles Darold
Le 25/03/2020 à 03:49, Dave Sharpe a écrit : > > Hi pghackers, > > This is my first time posting here ...  Gilles Darold and I are > developing a new FDW which is based on the contrib/postgres_fdw. The > postgres_fdw logic uses a RegisterXactCallback function to send local > transactions remote. Bu

[PATCH] Fix CommitTransactionCommand() to CallXactCallbacks() in TBLOCK_ABORT_END

2020-03-24 Thread Dave Sharpe
Hi pghackers, This is my first time posting here ... Gilles Darold and I are developing a new FDW which is based on the contrib/postgres_fdw. The postgres_fdw logic uses a RegisterXactCallback function to send local transactions remote. But I found that a registered XactCallback is not always c