Mercurial > p > roundup > code
diff doc/postgresql.txt @ 1875:3ffb7b56172a
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 25 Oct 2003 23:00:42 +0000 |
| parents | f63aa57386b0 |
| children | f255363e6d97 |
line wrap: on
line diff
--- a/doc/postgresql.txt Sat Oct 25 22:54:16 2003 +0000 +++ b/doc/postgresql.txt Sat Oct 25 23:00:42 2003 +0000 @@ -12,10 +12,10 @@ To use PostgreSQL as backend for storing roundup data, you should additionally install: - 1. PostgreSQL 7.x - http://www.postgresql.org/ +1. PostgreSQL 7.x - http://www.postgresql.org/ - 2. The psycopg python interface to PostgreSQL - - http://initd.org/software/initd/psycopg +2. The psycopg python interface to PostgreSQL: + http://initd.org/software/initd/psycopg Additional configuration @@ -23,26 +23,26 @@ To initialise and use PostgreSQL database roundup's configuration file (config.py in the tracker's home directory) should be appended with the -following constants (substituting real values, obviously): +following constants (substituting real values, obviously):: POSTGRESQL_DBHOST = 'localhost' POSTGRESQL_DBUSER = 'roundup' POSTGRESQL_DBPASSWORD = 'roundup' POSTGRESQL_DBNAME = 'roundup' POSTGRESQL_PORT = 5432 - POSTGRESQL_DATABASE = {'host':MYSQL_DBHOST, 'port':POSTGRESQL_PORT, - 'user':MYSQL_DBUSER, 'password':MYSQL_DBPASSWORD, - 'database':MYSQL_DBNAME} + POSTGRESQL_DATABASE = { + 'host': MYSQL_DBHOST, 'port': POSTGRESQL_PORT, + 'user': MYSQL_DBUSER, 'password': MYSQL_DBPASSWORD, + 'database': MYSQL_DBNAME + } -Also note that you can leave some values out of POSTGRESQL_DATABASE: 'host' and -'port' are not necessary when connecting to a local database and 'password' +Also note that you can leave some values out of +``POSTGRESQL_DATABASE``: 'host' and 'port' are not necessary when +connecting to a local database and 'password' is optional if postgres trusts local connections. The user specified in -POSTGRESQL_DBUSER must have rights to create a new database and to connect to -the "template1" database, used while initializing roundup. - +``POSTGRESQL_DBUSER`` must have rights to create a new database and to +connect to the "template1" database, used while initializing roundup. Have fun with psycopg, Federico Di Gregorio <fog@initd.org> - -vim: et tw=80
