Finished initial pgxc_clean code. It is not tested yet.
At first, I thought I need direct connection to GTM to clean up TXN status, but finally I found that I just need to tell the coordinator to commit or abort prepared transaction. With this, the code is simple enough. It is just libpq application. If I wish, I could have written this as ECPG application or even JDBC application.
Anyway, because this completely depends upon XC internal catalog and proprietary function calls, this is local to XC and is not portable at all.
No comments:
Post a Comment