Use infinity const
Merge pull request #11976 from etehtsea/inf

[PG adapter] Use infinity const