I don't want to kludge up a 2-phase commit support. Any attempt to provide that must be extremely well thought through :-)
But I would like to know more about PostgreSQL capabilities in the area. What kind of XA-support is there? Can I read about this somewhere? (I'm working on an Open Source high-end appserver bundling offer and would of course like to promote PostgreSQL) I'm not sure what Tom means when he says "go in and change the code". What code? - thomas "Bruce Momjian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tom Lane wrote: > > I got the impression that Thomas wanted this in order to kluge up > > some kind of two-phase-commit support, in which case he really needs > > to get control at the point where we're just about to really truly > > commit (ie, write the commit WAL record). That's certainly not a > > location where we want random users to be inserting code; as such > > I don't think that exposing a callback hook is the right answer. > > My advice to him is to go in and change the code. > > Yes, it can't be used for more advanced stuff like 2-phase commit. I > know some were asking for callbacks on (clean) session exit, and it > seemed like a natural extension. > > -- > Bruce Momjian | http://candle.pha.pa.us > [EMAIL PROTECTED] | (610) 359-1001 > + If your life is a hard drive, | 13 Roberts Road > + Christ can be your backup. | Newtown Square, Pennsylvania 19073 > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED]) > ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org