Better compatibility with postgres 9.3