Access to transaction status

Поиск
Список
Период
Сортировка
От Christian Plattner
Тема Access to transaction status
Дата
Msg-id 012b01c33674$fdfda2b0$6e828481@ethz.ch
обсуждение исходный текст
Список 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Enke, Michael"
Дата:
Сообщение: again: Bug #943: Server-Encoding from EUC_TW to UTF-8 doesn'twork
Следующее
От: "Richard Hall"
Дата:
Сообщение: Re: [SQL] Our FLOAT(p) precision does not conform to spec