[Bucardo-general] Error after upgrade from 4.99.10
Greg Sabino Mullane
greg at endpoint.com
Sat Apr 25 11:16:34 UTC 2015
Found the problem. Fixed in HEAD, or just apply this simple patch:
diff --git a/bucardo.schema b/bucardo.schema
index ca584da..cfe220d 100644
--- a/bucardo.schema
+++ b/bucardo.schema
@@ -743,7 +743,9 @@ if ($dbtype eq 'postgres') {
$db{host} ||= ''; $db{port} ||= ''; $db{pass} ||= ''; $db{user} ||= '';
$connstring .= join ';', map {
( $_ eq 'name' ? 'dbname' : $_ ) . "=$db{$_}";
- } grep { length $db{$_} } qw/name host port conn service/;
+ } grep { length $db{$_} } qw/name host port service/;
+
+ $connstring .= $db{conn} if length $db{conn};
my $ssp = $row->{server_side_prepares};
$ssp = 1 if ! defined $ssp;
--
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20150425/6112e627/attachment.sig>
More information about the Bucardo-general
mailing list