From 404a301e066537313a5a01af582ebce33b845702 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Mon, 10 Jul 2017 09:56:33 -0700 Subject: [PATCH] [FIX] base_external_dbsource: Fix PQ connection * Use `conn_string_full` in pg connection to fix #888 --- base_external_dbsource/models/base_external_dbsource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_external_dbsource/models/base_external_dbsource.py b/base_external_dbsource/models/base_external_dbsource.py index 8a3cc713d..dd1c5d532 100644 --- a/base_external_dbsource/models/base_external_dbsource.py +++ b/base_external_dbsource/models/base_external_dbsource.py @@ -296,7 +296,7 @@ class BaseExternalDbsource(models.Model): return connection.close() def connection_open_postgresql(self): - return psycopg2.connect(self.conn_string) + return psycopg2.connect(self.conn_string_full) def execute_postgresql(self, query, params, metadata): return self._execute_generic(query, params, metadata)