Here is the second version of my two phase commit patch. Please seethe discussion at the hackers-list.
- Heikki