[1.5.x] Fixed #19752 - Changed Postgres version numbers to 9.x to avoid having to update them each minor release.

Backport of 8d17114899 from master.