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:46 -0500 |
commit | 038512f71ea807d6c2b8e519f2416a9a5283d9bf (patch) | |
tree | 3bd8477ddcb52fc8fa6e01c5aff7c57049345839 /src/backend/executor/nodeSort.c | |
parent | 32d5a4974c81aeaca7ffc025f0a5fda88b71cba6 (diff) | |
download | postgresql-038512f71ea807d6c2b8e519f2416a9a5283d9bf.tar.gz postgresql-038512f71ea807d6c2b8e519f2416a9a5283d9bf.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/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions