A Postgres PHP Data Access Object