commit | aeae4182cb90cbf65b1c27cc877f62d2c7690aaf | [log] [tgz] |
---|---|---|
author | Ben Boeckel <ben.boeckel@kitware.com> | Mon Nov 04 16:37:06 2019 -0500 |
committer | Brad King <brad.king@kitware.com> | Thu Nov 07 09:24:12 2019 -0500 |
tree | 63d19ce4a6412b7d212536ccae8c2623f5fe599b | |
parent | 6d01a8e004c5faf2d0b2c3b7c0645ce3726181b6 [diff] |
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