Re: Bidirectional replication

Поиск
Список
Период
Сортировка
От tushar nehete
Тема Re: Bidirectional replication
Дата
Msg-id BANLkTikoSe9cN9QRwTGKACQaxRx6ikq=FA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bidirectional replication  (tushar nehete <tpnehete@gmail.com>)
Ответы Re: Bidirectional replication
Re: Bidirectional replication
Список pgsql-general
Hi,
I gone through the steps from bucardo sites as,

[root@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@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@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@gmail.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@2ndquadrant.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@2ndQuadrant.com   Baltimore, MD




--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


В списке pgsql-general по дате отправления:

Предыдущее
От: Kunal Ashar
Дата:
Сообщение: 64-bit PostgreSQL AMI for CentOS 5.5?
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Bidirectional replication