diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgres.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgres.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgres.py b/lib/sqlalchemy/dialects/postgres.py new file mode 100644 index 000000000..e66989fa7 --- /dev/null +++ b/lib/sqlalchemy/dialects/postgres.py @@ -0,0 +1,9 @@ +# backwards compat with the old name +from sqlalchemy.util import warn_deprecated + +warn_deprecated( + "The SQLAlchemy PostgreSQL dialect has been renamed from 'postgres' to 'postgresql'. " + "The new URL format is postgresql[+driver]://<user>:<pass>@<host>/<dbname>" + ) + +from sqlalchemy.dialects.postgresql import *
\ No newline at end of file |