use plain jdbc since we only have postgres 8.4 on centos