updated to support postgres 2.x
Merge pull request #6 from goodybag/6-support-postgres-2.x

support postgres 2.x