hibernate/hibernate-orm — pull request #396 by bturner (2012-10-15 05:01:27+00:00)
Title: HHH-7692 Use Postgres82Dialect for Postgres 9 and 9.1.

- Previously, the if check required both majorVersion >= 8 _and_
minorVersion >= 2, meaning for Postgres 9 and 9.1 the 8.1 dialect
would be used by default instead of the 8.2 dialect
- Revised the if check to return the 8.2 dialect for majorVersion > 8
or majorVersion == 8 and minorVersion >= 2
- Added test cases to verify dialects for several Postgres versions