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])

Reply via email to