Browse Source
[FIX] base_external_dbsource: Fix PQ connection
* Use `conn_string_full` in pg connection to fix #888
pull/895/head
Dave Lasley
8 years ago
No known key found for this signature in database
GPG Key ID: 7DDBA4BA81B934CF
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|