PG adapter pull request for supporting range types

Can someone review pull #7345 (and related #7350)? Is those features allowed to be in rails or not?