@@ -12,37 +12,37 @@ Prerequisites
1212To use PostgreSQL as backend for storing roundup data, you should
1313additionally install:
1414
15- 1. PostgreSQL 7.x - http://www.postgresql.org/
15+ 1. PostgreSQL 7.x - http://www.postgresql.org/
1616
17- 2. The psycopg python interface to PostgreSQL -
18- http://initd.org/software/initd/psycopg
17+ 2. The psycopg python interface to PostgreSQL:
18+ http://initd.org/software/initd/psycopg
1919
2020
2121Additional configuration
2222========================
2323
2424To initialise and use PostgreSQL database roundup's configuration file
2525(config.py in the tracker's home directory) should be appended with the
26- following constants (substituting real values, obviously):
26+ following constants (substituting real values, obviously)::
2727
2828 POSTGRESQL_DBHOST = 'localhost'
2929 POSTGRESQL_DBUSER = 'roundup'
3030 POSTGRESQL_DBPASSWORD = 'roundup'
3131 POSTGRESQL_DBNAME = 'roundup'
3232 POSTGRESQL_PORT = 5432
33- POSTGRESQL_DATABASE = {'host':MYSQL_DBHOST, 'port':POSTGRESQL_PORT,
34- 'user':MYSQL_DBUSER, 'password':MYSQL_DBPASSWORD,
35- 'database':MYSQL_DBNAME}
36-
37- Also note that you can leave some values out of POSTGRESQL_DATABASE: 'host' and
38- 'port' are not necessary when connecting to a local database and 'password'
33+ POSTGRESQL_DATABASE = {
34+ 'host': MYSQL_DBHOST, 'port': POSTGRESQL_PORT,
35+ 'user': MYSQL_DBUSER, 'password': MYSQL_DBPASSWORD,
36+ 'database': MYSQL_DBNAME
37+ }
38+
39+ Also note that you can leave some values out of
40+ ``POSTGRESQL_DATABASE``: 'host' and 'port' are not necessary when
41+ connecting to a local database and 'password'
3942is optional if postgres trusts local connections. The user specified in
40- POSTGRESQL_DBUSER must have rights to create a new database and to connect to
41- the "template1" database, used while initializing roundup.
42-
43+ ``POSTGRESQL_DBUSER`` must have rights to create a new database and to
44+ connect to the "template1" database, used while initializing roundup.
4345
4446 Have fun with psycopg,
4547 Federico Di Gregorio <
[email protected] >
4648
47-
48- vim: et tw=80
0 commit comments