]> git.donarmstrong.com Git - infobot.git/blob - INSTALL.pgsql
massive add-in for postgres support, contributed by troubled
[infobot.git] / INSTALL.pgsql
1 Method of installation.
2 -----------------------
3
4 - Debian: (apt-get install postgresql)
5 - Debian: (apt-get install libpgperl)
6
7 ---
8 OLD: SUPPORT FOR PGSQL IS CURRENTLY BROKEN! You'll have to use one of the other
9 databases instead.
10 ---
11
12 Actually, I have implemented pgsql support. It works just fine, but it assumes
13 that you have precreated the tables for now. To help with this, I have
14 included a sql file under setup/pgsql/pgsql-schema.sql. Simply psql <dbname>
15 and the type:
16
17 dbname#=> BEGIN;
18 dbname#=> \i path/to/setup/pgsql/pgsql-schema.sql
19 .......
20 dbname#=> COMMIT;
21
22 If everything went fine, you should have working Pgsql tables needed for blootbot.
23 Type "\d" to check if they were created.
24
25 In the future I will try to get things working a little smoother. But for now
26 this should be considered "near production" quality. :)
27
28 TODO: 
29 -----
30   - Auto create tables if they dont exist
31   - Modify setup.pl to do pgsql work
32   - Pgsql db conversions?
33
34
35
36 ----
37 troubled@freenode