From: | "Christian Plattner" <postgresql(at)sioux(dot)ch> |
---|---|
To: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Access to transaction status |
Date: | 2003-06-19 15:16:10 |
Message-ID: | 017701c33675$b6d96580$6e828481@ethz.ch |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
I am currently implementing an experimental middleware based replicator for
a set
of fully replicated databases.
Do be able to handle all sorts of failures I needed two functions:
- A function to get the current XID
- A function which I can use later to tell if a given XID
commited/aborted/whatever
I did a small implementation of this (see attachment).
Could one of you hackers tell me if you think this is
- an ugly way of accessing the clog?
- totally wrong because I missed some point?
- or a good and correct idea :)
It would be very nice if someone had the time to have a short look into
this.
Greetings,
Christian
Attachment | Content-Type | Size |
---|---|---|
postgres_xid_func.c | application/octet-stream | 1.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-06-19 15:41:07 | Re: add column .. default |
Previous Message | Christian Plattner | 2003-06-19 15:11:00 | Access to transaction status |