summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql
diff options
context:
space:
mode:
authorFrazer McLean <frazer@frazermclean.co.uk>2016-06-11 21:47:33 +0200
committerMike Bayer <mike_mp@zzzcomputing.com>2017-03-17 14:02:15 -0400
commitfadb8d61babb76ef7bdbc98279096a8900c7328d (patch)
tree2e6113d9c9ec665ed7785e4d7273b8830520e7af /test/dialect/postgresql
parent63a7b2d2d9402b06f9bc7745eed2d98ae9f8b11c (diff)
downloadsqlalchemy-fadb8d61babb76ef7bdbc98279096a8900c7328d.tar.gz
Implement comments for tables, columns
Added support for SQL comments on :class:`.Table` and :class:`.Column` objects, via the new :paramref:`.Table.comment` and :paramref:`.Column.comment` arguments. The comments are included as part of DDL on table creation, either inline or via an appropriate ALTER statement, and are also reflected back within table reflection, as well as via the :class:`.Inspector`. Supported backends currently include MySQL, Postgresql, and Oracle. Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com> Fixes: #1546 Change-Id: Ib90683850805a2b4ee198e420dc294f32f15d35d
Diffstat (limited to 'test/dialect/postgresql')
-rw-r--r--test/dialect/postgresql/test_reflection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_reflection.py b/test/dialect/postgresql/test_reflection.py
index 1d5648e57..e02c8915d 100644
--- a/test/dialect/postgresql/test_reflection.py
+++ b/test/dialect/postgresql/test_reflection.py
@@ -1054,7 +1054,7 @@ class CustomTypeReflectionTest(fixtures.TestBase):
]:
column_info = dialect._get_column_info(
'colname', sch, None, False,
- {}, {}, 'public')
+ {}, {}, 'public', None)
assert isinstance(column_info['type'], self.CustomType)
eq_(column_info['type'].arg1, args[0])
eq_(column_info['type'].arg2, args[1])