diff options
author | Malik Diarra <malik.diarra@gmail.com> | 2014-08-17 02:48:21 +0200 |
---|---|---|
committer | Malik Diarra <malik.diarra@gmail.com> | 2014-08-17 02:48:21 +0200 |
commit | 9eacc8d42ad49527c7fd0fe7e37100edba9eb1dc (patch) | |
tree | 1750310d0f200988bc6e65aa0ce4a895d913ae88 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 8e03430acdb98d7e5fef4a48a3120b928ed3266d (diff) | |
download | sqlalchemy-9eacc8d42ad49527c7fd0fe7e37100edba9eb1dc.tar.gz |
Correcting options name from withoids to with_oids
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index b09eaba72..057a5e072 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -1450,8 +1450,8 @@ class PGDDLCompiler(compiler.DDLCompiler): def post_create_table(self, table): table_opts = [] - if table.dialect_options['postgresql']['withoids'] is not None: - if table.dialect_options['postgresql']['withoids']: + if table.dialect_options['postgresql']['with_oids'] is not None: + if table.dialect_options['postgresql']['with_oids']: table_opts.append('WITH OIDS') else: table_opts.append('WITHOUT OIDS') @@ -1725,7 +1725,7 @@ class PGDialect(default.DefaultDialect): (schema.Table, { "ignore_search_path": False, "tablespace": None, - "withoids" : None, + "with_oids" : None, "on_commit" : None, }) ] |