~canonical-livepatch-dependencies/canonical-livepatch-service-dependencies/sqlalchemy

« back to all changes in this revision

Viewing changes to lib/sqlalchemy/dialects/postgres.py

  • Committer: Free Ekanayaka
  • Author(s): Piotr Ożarowski
  • Date: 2016-06-05 20:53:44 UTC
  • Revision ID: free.ekanayaka@canonical.com-20160605205344-y5n5bo3sf9oc1irq
Tags: upstream-1.0.13+ds1
Import upstream version 1.0.13+ds1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# dialects/postgres.py
 
2
# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors
 
3
# <see AUTHORS file>
 
4
#
 
5
# This module is part of SQLAlchemy and is released under
 
6
# the MIT License: http://www.opensource.org/licenses/mit-license.php
 
7
 
 
8
# backwards compat with the old name
 
9
from sqlalchemy.util import warn_deprecated
 
10
 
 
11
warn_deprecated(
 
12
    "The SQLAlchemy PostgreSQL dialect has been renamed from 'postgres' to "
 
13
    "'postgresql'. The new URL format is "
 
14
    "postgresql[+driver]://<user>:<pass>@<host>/<dbname>"
 
15
)
 
16
 
 
17
from sqlalchemy.dialects.postgresql import *
 
18
from sqlalchemy.dialects.postgresql import base