Added logging support for Postgres via hstore extension