[HACKERS] dbmirror - migration to 8.3 from 7.4

2008-05-08 Thread Achilleas Mantzios
Hi, we have been running our own heavily modified/enhanced version of dbmirror, running on 7.4 for some years, and now it is the time to upgrade to 8.3. We have called our approach "Conditional row grained + FK dependency oriented lazy replication", that is, any FK dependencies of a row are tran

Re: [HACKERS] dbmirror

2002-12-05 Thread Bruce Momjian
Thanks. Applied to 7.3 and CVS HEAD. It was me who added those commands to set the envirnment, and I didn't realize it was the first use of those variables, hence the need for 'my'. Thanks. Fix will be in 7.3.1. --- Stev

Re: [HACKERS] dbmirror

2002-12-05 Thread Steven Singer
On Thu, 5 Dec 2002, Bruce Momjian wrote: It looks like the problem was introduced when the "SET autocommit" and "SET search_path" commands were added to the beginning of the script. The attatched patch should fix the problem. It probably should be applied against the 7.3 and 7.4 branches. >

Re: [HACKERS] dbmirror

2002-12-04 Thread Bruce Momjian
Yes, I get the same failure. with perl 5.005_03. Steven, can you comment on this? --- Tatsuo Ishii wrote: > Hi, I have been playing around with contrib/dbmirror with RC2 and > faced with following errors: > > perl DBMirro

[HACKERS] dbmirror had sprintf string too short

2002-11-25 Thread Bruce Momjian
I have just applied a patch to 7.3 and current CVS to properly allocate an sprintf string in dbmirror: fullyqualtblname = SPI_palloc(strlen(tblname) + strlen(schemaname) + 6); sprintf(fullyqualtblname,"\"%s\".\"%s\"", schemaname,tblname); Old

[HACKERS] dbmirror

2002-11-25 Thread Tatsuo Ishii
Hi, I have been playing around with contrib/dbmirror with RC2 and faced with following errors: perl DBMirror.pl slaveDatabase.conf Global symbol "$setResult" requires explicit package name at DBMirror.pl line 131. Global symbol "$setResult" requires explicit package name at DBMirror.pl line 132.