Permalink
Browse files

Fix options parsing bug.

  • Loading branch information...
1 parent 6193f94 commit b5a017c2f02bea823a9e8c1f840484525b9878fd Ronan Dunklau committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sqlalchemy_fdw/dialect.py
@@ -133,7 +133,7 @@ def get_foreign_table_options(self, connection, fdw_table):
c = connection.execute(s, oid=oid)
options, srv_name = c.fetchone()
fdw_table.fdw_server = srv_name
- fdw_table.fdw_options = dict([option.split('=')
+ fdw_table.fdw_options = dict([option.split('=', 1)
for option in options])
dialect = PGDialectFdw

0 comments on commit b5a017c

Please sign in to comment.