From e35dcee6ca9c12e5e78702ae7679796cbe8365f2 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 3 Nov 2009 18:33:57 +0000 Subject: - The "start" and "increment" attributes on Sequence now generate "START WITH" and "INCREMENT BY" by default, on Oracle and Postgresql. Firebird doesn't support these keywords right now. [ticket:1545] --- lib/sqlalchemy/dialects/postgresql/base.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/sqlalchemy/dialects/postgresql/base.py') diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index bc8cff905..97108b3cb 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -340,12 +340,6 @@ class PGDDLCompiler(compiler.DDLCompiler): colspec += " NOT NULL" return colspec - def visit_create_sequence(self, create): - return "CREATE SEQUENCE %s" % self.preparer.format_sequence(create.element) - - def visit_drop_sequence(self, drop): - return "DROP SEQUENCE %s" % self.preparer.format_sequence(drop.element) - def visit_enum_constraint(self, constraint): if not constraint.type.native_enum: return super(PGDDLCompiler, self).visit_enum_constraint(constraint) -- cgit v1.2.1