git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 83eccb8) | patch
Fix version comparison in Version.pm
2022年11月18日 13:38:26 +0000 (08:38 -0500)
2022年11月18日 13:45:58 +0000 (08:45 -0500)
commit 97ee956416e9d7906cde49cae5f65763ea943e77
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.
src/test/perl/PostgreSQL/Version.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /