Commit Graph

2 Commits

Author SHA1 Message Date
Ben Boeckel
e992d62b7e FindPostgreSQL: support version encoding used in pre-10 releases
With the 10.x release, PostgreSQL upstream started encoding the version
as `MMmmmm` where `M` is major and `m` is minor. Prior to that, `MMmmPP`
was used where `P` was the patch number. Detect this difference and
decode it based on the used encoding.

Fixes: #19912
2019-11-04 16:38:52 -05:00
Ben Boeckel
7413f29fe6 Tests/FindPostgreSQL: add a test for FindPostgreSQL 2018-11-01 13:23:38 -04:00