Skip to content

Commit

Permalink
Fix documentation for adding a Redshift database (#2447)
Browse files Browse the repository at this point in the history
When adding a Redshift database, the docs said to use a connection
string that started with `redshift+psycopg2://...`, but this results
in a Python error from how SQLAlchemy executes the `get_schema_names`
method (first reported [here](#2364 (comment))).

The fix is to use `postgresql+psycog2://...` for the Redshift connection
string.
  • Loading branch information
alexdebrie authored and mistercrunch committed Mar 21, 2017
1 parent 8042ac8 commit 7b28bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Here's a list of some of the recommended packages.
+---------------+-------------------------------------+-------------------------------------------------+
| sqlite | | ``sqlite://`` |
+---------------+-------------------------------------+-------------------------------------------------+
| Redshift | ``pip install sqlalchemy-redshift`` | ``redshift+psycopg2://`` |
| Redshift | ``pip install sqlalchemy-redshift`` | ``postgresql+psycopg2://`` |
+---------------+-------------------------------------+-------------------------------------------------+
| MSSQL | ``pip install pymssql`` | ``mssql://`` |
+---------------+-------------------------------------+-------------------------------------------------+
Expand Down

0 comments on commit 7b28bce

Please sign in to comment.