From: | "Thomas Hallgren" <thhal(at)mailblocks(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Transaction callback |
Date: | 2004-01-31 23:16:41 |
Message-ID: | bvhcmu$m8t$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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" <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote in message
news:200401311944(dot)i0VJiWj21658(at)candle(dot)pha(dot)pa(dot)us(dot)(dot)(dot)
> 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
> pgman(at)candle(dot)pha(dot)pa(dot)us | (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 majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2004-02-01 00:34:51 | Re: [PATCHES] v7.4.1 text_position() patch |
Previous Message | Marc G. Fournier | 2004-01-31 23:05:32 | Re: Idea about better configuration options for sort memory |