[FIX] base_external_dbsource: Fix PQ connection

* Use `conn_string_full` in pg connection to fix #888
This commit is contained in:
Dave Lasley
2017-07-10 09:56:33 -07:00
committed by Adrià Gil Sorribes
parent 75334936ea
commit d9fe18e366

View File

@@ -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)