mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed SQL for foreign table options. Fixes #3453
This commit is contained in:
parent
7ac4e2a9d9
commit
d7b0508305
@ -14,5 +14,6 @@ Features
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Bug #3453 <https://redmine.postgresql.org/issues/3453>`_ - Fixed SQL for foreign table options.
|
||||
| `Bug #3693 <https://redmine.postgresql.org/issues/3693>`_ - Proper error should be thrown when server group is created with existing name.
|
||||
| `Bug #3695 <https://redmine.postgresql.org/issues/3695>`_ - Ensure long string should be wrap in alertify dialogs.
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user