compatibility with centos 6.5 (python 2.6 and postgres 8.4)