diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-11-18 08:38:26 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-11-18 08:47:31 -0500 |
commit | df4e93bea4f9370c14f01d27e6d36cbe7afaac72 (patch) | |
tree | 5666cd34ac504aad8225f28f74694b56be7472de /src/backend/utils/adt/enum.c | |
parent | 3d45edcef0e141f2a17a21d0411efa889f843b00 (diff) | |
download | postgresql-df4e93bea4f9370c14f01d27e6d36cbe7afaac72.tar.gz postgresql-df4e93bea4f9370c14f01d27e6d36cbe7afaac72.zip |
Fix version comparison in Version.pm
Version strings with unequal numbers of parts were being compared
incorrectly. We cure this by treating a missing part in the shorter
version as 0.
per complaint from Jehan-Guillaume de Rorthais, but the fix is mine, not
his.
Discussion: https://postgr.es/m/20220628225325.53d97b8d@karst
Backpatch to release 14 where this code was introduced.
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions