[FIX] base_external_dbsource: Fix PQ connection

* Use `conn_string_full` in pg connection to fix #888

[UPD] Update base_external_dbsource.pot
This commit is contained in:
Dave Lasley
2017-07-10 09:56:33 -07:00
committed by Ángel Rivas
parent 5143e8afbc
commit 1847294a08
70 changed files with 1455 additions and 369 deletions

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)