Adds postgresql support