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_
kes sense to the community, I could try
and patch contrib/postgres_fdw to do what we are doing. But note that I don't
need it myself: we have our own new FDW for remote DB2 z/OS (!) ... at LzLabs
we are a building a software defined mainframe with PostgreSQL (of all things).
Hope it helps