Code

svn repository setup
[roundup.git] / doc / postgresql.txt
1 ==========================
2 PostgreSQL/psycopg Backend
3 ==========================
5 This are notes about PostqreSQL backend based on the psycopg adapter for
6 Roundup issue tracker.
8 Prerequisites
9 =============
11 To use PostgreSQL as backend for storing roundup data, you should
12 additionally install:
14 1. PostgreSQL 7.x - http://www.postgresql.org/
16 2. The psycopg python interface to PostgreSQL:
18      http://initd.org/software/initd/psycopg
20    It is recommended that you use at least version 1.1.21
22 Some advice on setting up the postgresql backend may be found at:
24   http://www.magma.com.ni/wiki/index.cgi?TipsRoundupPostgres
27 Running the PostgreSQL unit tests
28 =================================
30 The user that you're running the tests as will need to be able to access
31 the postgresql database on the local machine and create and drop
32 databases. Edit the ``test/test_postgresql.py`` database connection info if
33 you wish to test against a different database.
35 The test database will be called "rounduptest".
38 Credit
39 ======
41 The postgresql backend was originally submitted by Federico Di Gregorio
42 <fog@initd.org>