From 017989ce8bca6e0540701fe0221fcfc556f7aba8 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 18 Oct 2012 18:24:15 -0400 Subject: - 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. --- lib/sqlalchemy/dialects/postgresql/psycopg2.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py') 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: -- cgit v1.2.1