summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgres.py
blob: 046be760da0bc4e3da5ea0e87e2483dcc5543f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# dialects/postgres.py
# Copyright (C) 2005-2014 the SQLAlchemy authors and contributors
# <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