[Bucardo-general] Bucardo version 4.4.6 on Centos 4.7, Postgres 9.0.2 appears to be broken working on a very large bucardo_delta file.
Brady S Edwards
brady.s.edwards at seagate.com
Tue Nov 8 16:31:49 UTC 2011
Thanks Greg,
I made the change.
I'm guessing it will be about 4 hours before I know if it works.
I'll let you know.
On Tue, Nov 8, 2011 at 9:09 AM, Greg Sabino Mullane <greg at endpoint.com>wrote:
> I think I found the problem. Here's the quick fix for
> Bucardo.pm version 4.4.6:
>
> diff -u -r1.1 Bucardo.pm
> --- Bucardo.pm 2011/11/08 16:07:28 1.1
> +++ Bucardo.pm 2011/11/08 16:07:38
> @@ -5500,7 +5500,7 @@
> else {
> $x=0;
> for my $pk (@{$info1->{$pkval}{BUCARDO_PKVALS}}) {
> - if ($g->{pkeytype}[0] =~ /int\d?$/o) {
> + if ($g->{pkeytype}[$x] =~ /int\d?$/o) {
> push @safepk => $pk;
> }
> else {
> @@ -5508,6 +5508,7 @@
> $safepkval =~ s{\\}{\\\\}go;
> push @safepk => qq{'$safepkval'};
> }
> +
> $x++;
> }
> }
>
>
> We'll get a new version rolled out shortly, but let us know if that
> fix works for you first.
>
> --
> Greg Sabino Mullane greg at endpoint.com
> End Point Corporation
> PGP Key: 0x14964AC8
>
--
Brady Edwards
(720) 684-2984
Seagate Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20111108/e1b1b0c9/attachment-0001.html
More information about the Bucardo-general
mailing list