In case anyone had any syntax issues with a psycopg install on mandrake. This is VERY useful. http://www.initd.org/pub/software/psycopg/FAQ