Pass the database ID to the query tool when using the Script options. Fixes #2435

This commit is contained in:
Murtuza Zabuawala 2017-05-26 10:57:31 -04:00 committed by Dave Page
parent 3216eca4a8
commit a45bb905f5

View File

@ -1119,7 +1119,7 @@ class ViewNode(PGChildNodeView, VacuumSettings):
"/".join([
self.template_path, 'sql/properties.sql'
]),
scid=scid, vid=vid,
scid=scid, vid=vid, did=did,
datlastsysoid=self.datlastsysoid
)
status, res = self.conn.execute_dict(SQL)
@ -1180,7 +1180,7 @@ class ViewNode(PGChildNodeView, VacuumSettings):
"/".join([
self.template_path, 'sql/properties.sql'
]),
scid=scid, vid=vid,
scid=scid, vid=vid, did=did,
datlastsysoid=self.datlastsysoid
)
status, res = self.conn.execute_dict(SQL)