summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2022-07-13 23:18:57 +0200
committerFederico Caselli <cfederico87@gmail.com>2022-07-13 23:18:57 +0200
commit758dc7ed2b322069b80fb21b5cc3296d2a8c6c92 (patch)
tree8156cf9715471a0f09ed288ae42ee0ea22423491 /lib/sqlalchemy/dialects/postgresql/base.py
parentfa8a7715a3f184c708a5e1625f63849844667da4 (diff)
downloadsqlalchemy-758dc7ed2b322069b80fb21b5cc3296d2a8c6c92.tar.gz
Minor cleanup
- remove unnecessary postgresql visit that's equal to the default compiler - clarify type_annotation_map documentation Change-Id: I0c1fa212d06f6af799a5894802574250622c855e
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index 56bc02b23..20903b55f 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -2188,11 +2188,6 @@ class PGDDLCompiler(compiler.DDLCompiler):
text += self._define_constraint_validity(constraint)
return text
- def visit_drop_table_comment(self, drop):
- return "COMMENT ON TABLE %s IS NULL" % self.preparer.format_table(
- drop.element
- )
-
def visit_create_enum_type(self, create):
type_ = create.element