Add support for PostgreSQL

See https://github.com/metamx/druid/pull/466