From: Greg Sabino Mullane Date: Tue, 28 Apr 2015 22:28:26 +0000 (-0400) Subject: Need to check < 80300 to catch Postgres version 8.2.x! X-Git-Tag: 5.4.0~57 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=5b2ee0af890bf9b81810930076a25c61a7bc2813;p=bucardo.git Need to check < 80300 to catch Postgres version 8.2.x! --- diff --git a/Bucardo.pm b/Bucardo.pm index 4d985028c..1ad73ac6e 100644 --- a/Bucardo.pm +++ b/Bucardo.pm @@ -7171,7 +7171,7 @@ sub validate_sync { ## Postgres added the array_agg function in 8.3, so if this is older than that, ## we add our own copy my $arrayagg = 'array_agg'; - if ($srcdbh->{pg_server_version} <= 80200) { + if ($srcdbh->{pg_server_version} < 80300) { ## We reset the search_path below, so we need to force the query below to use the public namespace $arrayagg = 'public.array_agg';