Postgresql on Maemo
Tuesday, 6. February 2007, 14:49:45
After many, many and more builds ( 3 days worth at 1 hour a build ) of postgresql 8.2.2 and PyGreSQL, I hacked together a deb with libpq5 using a python setup file. Use at your on RISK. The basic and func examples work but the advanced and syscat fail. I think it is just the examples need to be tweaked. It uses python's date and time stuff.
Why?
I just wanted to use my postgresql on my OpenBSD box.
To test the example with your postgresql server.
In a xterm.
cp /usr/share/doc/tutorial/basics.py.gz /home/user/MyDocs/.documents
cd /home/user/MyDocs/.documents
gunzip basics.py
start python
import basics
cnx=basics.DB(dbname='MY_DATABASE', host='MY_HOST', user='MY_ACCOUNT', passwd='MY_ACCOUNTS_PASSWD')
basics.demo(cnx)
My Debian packaging skills are about 2 on a scale of 10.
That said here is the file :
python2.5-libpq5-pygresql_3.8.1-1_armel.deb
Why?
I just wanted to use my postgresql on my OpenBSD box.
To test the example with your postgresql server.
In a xterm.
cp /usr/share/doc/tutorial/basics.py.gz /home/user/MyDocs/.documents
cd /home/user/MyDocs/.documents
gunzip basics.py
start python
import basics
cnx=basics.DB(dbname='MY_DATABASE', host='MY_HOST', user='MY_ACCOUNT', passwd='MY_ACCOUNTS_PASSWD')
basics.demo(cnx)
My Debian packaging skills are about 2 on a scale of 10.
That said here is the file :
python2.5-libpq5-pygresql_3.8.1-1_armel.deb
