Re: [HACKERS] HOOKS for Synchronous Replication?

2006-01-03 Thread Alfranio Correia Junior
I fixed the patch and now it compiles in windows. The first one did not compile because there were some problems in the Makefile. It is currently available for download at http://gorda.di.uminho.pt/community/pgsqlhooks/. Regards, Alfranio ---(end of

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread pmagnoli
I can only add that patched code did not build on windows, contacted author about that and never got an answer back. Regards paolo Tom Lane [EMAIL PROTECTED] ha scritto Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch?

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Darcy Buskermolen
On Wednesday 07 December 2005 20:24, Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/ The discussion seems to be pretty minimal: http://archives.postgresql.org/pgsql-hackers/2005-06/msg00859.php

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Jim C. Nasby
On Thu, Dec 08, 2005 at 08:33:59AM -0800, Darcy Buskermolen wrote: On Wednesday 07 December 2005 20:24, Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/ The discussion seems to be pretty

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Jan Wieck
On 12/7/2005 11:24 PM, Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/ The discussion seems to be pretty minimal: http://archives.postgresql.org/pgsql-hackers/2005-06/msg00859.php Does anyone see a

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Jonah H. Harris
On 12/8/05, Jim C. Nasby [EMAIL PROTECTED] wrote: While this code might be useful, whouldn't it be much more valuable toprovide hooks into xlog so that we could do non-trigger-basedreplication? (As well as non-trigger-based materialized views...) If we're going to do hooks for replication, I

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Dann Corbit
; Tom Lane; Christopher Kings-Lynne Subject: Re: [HACKERS] HOOKS for Synchronous Replication? On 12/8/05, Jim C. Nasby [EMAIL PROTECTED] wrote: While this code might be useful, whouldn't it be much more valuable to provide hooks into xlog so that we could do non-trigger-based replication

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Jan Wieck
On 12/8/2005 2:05 PM, Jim C. Nasby wrote: On Thu, Dec 08, 2005 at 08:33:59AM -0800, Darcy Buskermolen wrote: On Wednesday 07 December 2005 20:24, Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-08 Thread Jonah H. Harris
True, I think we need hooks for both methods.On 12/8/05, Jan Wieck [EMAIL PROTECTED] wrote: On 12/8/2005 2:05 PM, Jim C. Nasby wrote: On Thu, Dec 08, 2005 at 08:33:59AM -0800, Darcy Buskermolen wrote: On Wednesday 07 December 2005 20:24, Tom Lane wrote: Christopher Kings-Lynne [EMAIL PROTECTED]

[HACKERS] HOOKS for Synchronous Replication?

2005-12-07 Thread Christopher Kings-Lynne
Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/ The discussion seems to be pretty minimal: http://archives.postgresql.org/pgsql-hackers/2005-06/msg00859.php Does anyone see a need to investigate it further? Chris ---(end of

Re: [HACKERS] HOOKS for Synchronous Replication?

2005-12-07 Thread Tom Lane
Christopher Kings-Lynne [EMAIL PROTECTED] writes: Anyone remember this patch? http://gorda.di.uminho.pt/community/pgsqlhooks/ The discussion seems to be pretty minimal: http://archives.postgresql.org/pgsql-hackers/2005-06/msg00859.php Does anyone see a need to investigate it further? I had

Re: [HACKERS] HOOKS for Synchronous Replication

2005-06-23 Thread Neil Conway
Alfranio Correia Junior wrote: I think it is ok now. However, I corrected the indentation manually. I could not run some of the tools, namely the entab. /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error GCC no longer implements varargs.h.

Re: [HACKERS] HOOKS for Synchronous Replication

2005-06-21 Thread Alfranio Correia Junior
Thank you for the comments. First of all your patch does not conform with the project style. Please have a look at how other files are indented, in particular regarding brace position and ereport() arguments (any function arguments really, but in ereport your problems are more visible). Also,

Re: [HACKERS] HOOKS for Synchronous Replication

2005-06-21 Thread Alfranio Correia Junior
First of all your patch does not conform with the project style. Please have a look at how other files are indented, in particular regarding brace position and ereport() arguments (any function arguments really, but in ereport your problems are more visible). Also, always use ereport() for

[HACKERS] HOOKS for Synchronous Replication

2005-06-20 Thread Alfranio Correia Junior
Hi, 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/ Note that this is far from a full replication product. It is made available for early feedback by

Re: [HACKERS] HOOKS for Synchronous Replication

2005-06-20 Thread Alvaro Herrera
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/ Some random

Re: [HACKERS] HOOKS for Synchronous Replication

2005-06-20 Thread Heikki Linnakangas
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: