[Bucardo-general] Master-Master->slave working?

Michelle Sullivan michelle at sorbs.net
Tue Jun 22 17:16:05 UTC 2010


Greg Sabino Mullane wrote:
>> When I get time I'm going to write up some doco for this - the current
>> doco is not easy to find, so I'm thinking a howto with 3-4 (real word)
>> examples might be in order
>>     
>
> That would be most excellent.
>
> ...
>   
>> DBD::Pg::st execute failed: called with 1 bind variables when 3 are
>> needed at /usr/local/lib/perl5/site_perl/5.10.1/Bucardo.pm line 5677.
>>     
> ...
>   
>> Bug?
>>     
>
> Sure looks that way. Can you tell me the exact git revision you are using, 
> or what line 5677 of Bucardo.pm is on your version? I can't tell from 
> here exactly which execute is causing the problem.
>
>   
How do I tell that...? (I'm an SVN girl ;-))

                if ($g->{does_target_makedelta}) {
                    if
($sync->{does_target_makedelta_triggers}{$targetdb}) {
                        $targetdbh->do(q{SET session_replication_role =
'origin'});
                    }
                    for (@tgtdelete2) {
5677:>>>>>                       
$sth{target}{$g}{insertdelta}->execute($toid,@$_);
                        $g->{target_makedelta_inserts}++;
                        $self->glog("Adding in target bucardo_delta row
(delete) for $toid and $_", 6);
                    }



More information about the Bucardo-general mailing list