Fixed SQL for foreign table options. Fixes #3453

This commit is contained in:
Aditya Toshniwal
2019-01-16 12:34:16 +05:30
committed by Akshay Joshi
parent 7ac4e2a9d9
commit d7b0508305
2 changed files with 1 additions and 4 deletions

View File

@@ -1209,10 +1209,6 @@ class ForeignTableView(PGChildNodeView, DataTypeReader):
if db_variables is not None:
for row in db_variables:
var_name, var_value = row.split("=")
# Because we save as boolean string in db so it needs
# conversion
if var_value == 'false' or var_value == 'off':
var_value = False
var_dict = {'option': var_name, 'value': var_value}