postgres

RH5安装RPM以后应执行以下指令:

#su postgres bash-3.00

$ PGDATA=/var/lib/pgsql/data bash-3.00

$ export PGDATA bash-3.00$ initdb --encoding=utf-8

下面链接中有最新的psycopg2 的Windows二进制包

http://www.stickpeople.com/projects/python/win-psycopg/

你可能感兴趣的:(windows,python,bash)