Mercurial > p > roundup > code
comparison doc/postgresql.txt @ 6662:a0a100453eb9
Document minimum psycopg version
Suggest to use a virtual environment if distribution has an older
version. See issue2551201.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Tue, 03 May 2022 17:20:23 +0200 |
| parents | ba82fb74f806 |
| children | b21ebabeb2ef |
comparison
equal
deleted
inserted
replaced
| 6661:18445cd132c8 | 6662:a0a100453eb9 |
|---|---|
| 11 ============= | 11 ============= |
| 12 | 12 |
| 13 To use PostgreSQL as backend for storing roundup data, you should | 13 To use PostgreSQL as backend for storing roundup data, you should |
| 14 additionally install: | 14 additionally install: |
| 15 | 15 |
| 16 1. PostgreSQL 8.x or higher - https://www.postgresql.org/ | 16 1. PostgreSQL_ 8.x or higher |
| 17 | 17 |
| 18 2. The psycopg python interface to PostgreSQL: | 18 2. The psycopg_ python interface to PostgreSQL_ |
| 19 | 19 |
| 20 https://www.psycopg.org/ | 20 Note that you currently need at least version 2.8 of psycopg_ -- the |
| 21 postgresql backend will work with 2.7 but if you're using the native | |
| 22 postgresql indexer you need at least 2.8. Also if you want to run the | |
| 23 tests, these also need 2.8. If your distribution has an older version we | |
| 24 suggest that you install into a python virtual environment. | |
| 25 | |
| 26 .. _psycopg: https://www.psycopg.org/ | |
| 27 .. _PostgreSQL: https://www.postgresql.org/ | |
| 28 | |
| 21 | 29 |
| 22 | 30 |
| 23 Running the PostgreSQL unit tests | 31 Running the PostgreSQL unit tests |
| 24 ================================= | 32 ================================= |
| 25 | 33 |
