Skip to content

Commit 72dbe05

Browse files
committed
giving the dialect a name
Want to differentiate between postgres and redshift
1 parent 9fc3327 commit 72dbe05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redshift_sqlalchemy/dialect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99

1010
class RedshiftDialect(PGDialect_psycopg2):
11+
name = 'redshift'
1112
@reflection.cache
1213
def get_pk_constraint(self, connection, table_name, schema=None, **kw):
1314
"""

0 commit comments

Comments
 (0)