Browse Source

Merge pull request #895 from LasLabs/bugfix/10.0/base_external_dbsource-pg-conn

[FIX] base_external_dbsource: Fix PQ connection
pull/947/head
Daniel Reis 7 years ago
committed by GitHub
parent
commit
b4df4a5a9c
  1. 2
      base_external_dbsource/models/base_external_dbsource.py

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

Loading…
Cancel
Save