[Bucardo-general] Problem with Perl and Bucardo

Gonzalez, Adrian (CTR) HHHH Adrian.Gonzalez at Cigna.com
Wed Nov 13 17:27:01 UTC 2019


Hello, I got this problem while starting bucardo.

```
(25402) [Mon Nov 11 11:52:31 2019] MCP   Inspecting source table "public.table_1" on database "local_serv5"
(25402) [Mon Nov 11 11:52:31 2019] MCP    Inspecting target table "." on database "local_serv4"
(25402) [Mon Nov 11 11:52:31 2019] MCP Warning: Killed (line 7185): DBD::Pg::st execute failed: ERROR:  invalid name syntax at /usr/local/share/perl5/Bucardo.pm line 7185.
(25402) [Mon Nov 11 11:52:33 2019] MCP End of cleanup_mcp. Sys time: Mon Nov 11 11:52:33 2019. Database time: 2019-11-11 11:52:33.03855-05
```

And this is line 7185:
`            $sth->execute("$RS.$RT");`


This is my Perl version
```
[root at my_host bucardo-master]# perl --version

This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 39 registered patches, see perl -V for more detail)

```

Looks like $RS and $RT are empty.

`/usr/local/share/perl5/Bucardo.pm`
`            $self->glog(qq{   Inspecting target $g->{reltype} "$RS.$RT" on database "$dbname"}, LOG_NORMAL);`


`/var/log/bucardo/log.bucardo`
```
(10530) [Tue Nov 12 11:37:16 2019] MCP   Inspecting source table "public.contacts" on database "cilcpcxd7568"
(10530) [Tue Nov 12 11:37:16 2019] MCP    Inspecting target table "." on database "cilcpcxd7567"

```

I submitted this issue on the repo
https://github.com/bucardo/bucardo/issues/204

Thanks in advance.

Adrián Isaías González Ceja
QA&V | Software Development Engineer in Test
NetDevOps
adrian.gonzalez at cigna.com<mailto:adrian.gonzalez at cigna.com>
Cell - (449) 200-5043

[Cigna Logo]

Confidential, unpublished property of Cigna. Do not duplicate or distribute. Use and distribution limited solely to authorized personnel. © Copyright 2019 Cigna

------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown. 
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity to
whom it is intended even if addressed incorrectly.  Please delete it from
your files if you are not the intended recipient.  Thank you for your
compliance.  Copyright (c) 2019 Cigna
==============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://bucardo.org/pipermail/bucardo-general/attachments/20191113/86845118/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4662 bytes
Desc: image001.png
URL: <https://bucardo.org/pipermail/bucardo-general/attachments/20191113/86845118/attachment.png>


More information about the Bucardo-general mailing list