Postgresql Range Operators Functions In R