projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6cdce
)
When contructing a Postgres DSN, do not use literal 'conn=' but just the values.
author
Greg Sabino Mullane
<greg@endpoint.com>
Sat, 25 Apr 2015 11:14:52 +0000
(07:14 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Sat, 25 Apr 2015 11:14:52 +0000
(07:14 -0400)
Per report on mailing list from Alexandre Busquets
bucardo.schema
patch
|
blob
|
blame
|
history
diff --git
a/bucardo.schema
b/bucardo.schema
index ca584da5ef1b8b0c2f04d2590f706a3752e3e938..cfe220d79e53dd4a536c4e2e947f74723af8ae94 100644
(file)
--- 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;