2016-02-06 09:37:19 +00:00
|
|
|
# dialects/postgres.py
|
2016-02-22 11:13:36 +00:00
|
|
|
# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors
|
2016-02-06 09:37:19 +00:00
|
|
|
# <see AUTHORS file>
|
|
|
|
#
|
|
|
|
# This module is part of SQLAlchemy and is released under
|
|
|
|
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
|
|
|
|
|
|
|
# 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 *
|
|
|
|
from sqlalchemy.dialects.postgresql import base
|