2013-10-11 17:28:32 +00:00
|
|
|
# dialects/postgres.py
|
2014-09-30 16:15:32 +00:00
|
|
|
# Copyright (C) 2005-2014 the SQLAlchemy authors and contributors
|
|
|
|
# <see AUTHORS file>
|
2013-10-11 17:28:32 +00:00
|
|
|
#
|
|
|
|
# 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(
|
2014-09-30 16:15:32 +00:00
|
|
|
"The SQLAlchemy PostgreSQL dialect has been renamed from 'postgres' to "
|
|
|
|
"'postgresql'. The new URL format is "
|
|
|
|
"postgresql[+driver]://<user>:<pass>@<host>/<dbname>"
|
|
|
|
)
|
2013-10-11 17:28:32 +00:00
|
|
|
|
|
|
|
from sqlalchemy.dialects.postgresql import *
|
|
|
|
from sqlalchemy.dialects.postgresql import base
|