Re: HOOKS for Synchronous Replication

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Alvaro Herrera <alvherre(at)surnet(dot)cl>
Cc: Alfranio Correia Junior <alfranio(at)lsd(dot)di(dot)uminho(dot)pt>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: HOOKS for Synchronous Replication
Date: 2005-06-20 19:40:02
Message-ID: Pine.OSF.4.61.0506202234140.377078@kosh.hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 20 Jun 2005, Alvaro Herrera wrote:

> On Mon, Jun 20, 2005 at 11:03:45AM +0100, Alfranio Correia Junior wrote:
>
> Alfranio,
>
>> The implementation of a set of hooks for efficient synchronous replication
>> without extensive patching of Postgresql source is now available at:
>>
>> http://gorda.di.uminho.pt/community/
>
> ...
>
> Also there are some changes that you certainly don't want committed.
> For example why are you removing the TransState from xact.c?

That puzzled me too, until I noticed that it's not removed, just moved to
xact.h. The current transaction state is exposed in a new
getCurrentTransactionState function, that's why TransState has to be in a
header file...

I just took a quick glance, I can't say why it's that way.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rohit Gaddi 2005-06-20 19:48:33 index selection by query planner
Previous Message Jim C. Nasby 2005-06-20 19:25:05 Issue with plpython write_file and read_file tests