diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-18 18:24:15 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-18 18:24:15 -0400 |
commit | 017989ce8bca6e0540701fe0221fcfc556f7aba8 (patch) | |
tree | b7d0acba55f2af66d7c90b1042b8fd397caad53d /lib/sqlalchemy/dialects/postgresql/psycopg2.py | |
parent | ba67f7dbc5eb7a1ed2a3e1b56df72a837130f7bb (diff) | |
download | sqlalchemy-017989ce8bca6e0540701fe0221fcfc556f7aba8.tar.gz |
- move out maxdb
- begin consolidating docs for dialects to be more self contained
- add a separate section for "external" dialects
- not sure how we're going to go with this yet.
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index c5eb9b445..14fb35456 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -6,7 +6,7 @@ """Support for the PostgreSQL database via the psycopg2 driver. -Driver +DBAPI ------ The psycopg2 driver is available at http://pypi.python.org/pypi/psycopg2/ . @@ -18,8 +18,12 @@ Note that psycopg1 is **not** supported. Connecting ---------- -URLs are of the form -``postgresql+psycopg2://user:password@host:port/dbname[?key=value&key=value...]``. +Connect string format:: + + postgresql+psycopg2://user:password@host:port/dbname[?key=value&key=value...] + +psycopg2 Connect Arguments +----------------------------------- psycopg2-specific keyword arguments which are accepted by :func:`.create_engine()` are: |