Re: Bidirectional replication

From: tushar nehete <tpnehete(at)gmail(dot)com>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Sim Zacks <sim(at)compulab(dot)co(dot)il>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bidirectional replication
Date: 2011-05-05 09:37:20
Message-ID: BANLkTikoSe9cN9QRwTGKACQaxRx6ikq=FA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I gone through the steps from bucardo sites as,

[root(at)billingtest1 Bucardo-4.4.3]# perl Makefile.PL
WARNING: LICENSE is not a known parameter.
Warning: prerequisite DBD:g 2.0 not found. We have 1.49.
Warning: prerequisite ExtUtils::MakeMaker 6.32 not found. We have 6.30.
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Bucardo
[root(at)billingtest1 Bucardo-4.4.3]# make
cp bucardo_ctl blib/script/bucardo_ctl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bucardo_ctl

Manifying blib/man1/bucardo_ctl.1pm
Manifying blib/man3/Bucardo.3pm
[root(at)billingtest1 Bucardo-4.4.3]# make install
Installing /usr/bin/bucardo_ctl
Writing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Bucardo/.packlist

Appending installation info to
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod

I gone through the script and found this is what is happening behind

bucardo=#
bucardo=#
bucardo=# CREATE OR REPLACE FUNCTION bucardo.plperlu_test()
bucardo-# RETURNS TEXT
bucardo-# LANGUAGE plperlu
bucardo-# AS $bc$
bucardo$# return 'Pl/PerlU was successfully installed';
bucardo$# $bc$;
ERROR: didn't get a return item from mksafefunc
bucardo=#

so there must be something wrong at mksafefunc or in that perl file.

Any solution?

On Wed, May 4, 2011 at 1:14 PM, tushar nehete <tpnehete(at)gmail(dot)com> wrote:

> Hi Thanks to ALL,
> John I tried Perl built into RHEL 5.5 but i got some errors so I download
> activeperl 5.12 and
> installed it.
> After that when start installation I stuck with the error,
>
> FAILED! (psql:/usr/local/share/bucardo/bucardo.schema:40: ERROR: didn't
> get a returINSTALLATION n item from mksafefunc )
>
> Can any one help to deal with this error !!!
>
> Thanks,
> Tushar
>
>
>
>
> On Wed, May 4, 2011 at 12:59 PM, Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
>
>> Merlin Moncure wrote:
>>
>>> I know some people do some cool, usable things with that stuff,
>>> but the whole concept seems awfully awkward to me. I suppose I'm a
>>> crotchety, cane shaking fundamentalist...
>>>
>>
>> It's possible--do you sometimes find yourself yelling at young developers,
>> telling them to stop replicating in your yard?
>>
>> --
>> Greg Smith 2ndQuadrant US greg(at)2ndQuadrant(dot)com Baltimore, MD
>>
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2011-05-05 10:42:52 Re: Bidirectional replication
Previous Message Kunal Ashar 2011-05-05 09:17:19 64-bit PostgreSQL AMI for CentOS 5.5?