forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit97ee956
committed
Fix version comparison in Version.pm
Version strings with unequal numbers of parts were being comparedincorrectly. We cure this by treating a missing part in the shorterversion as 0.per complaint from Jehan-Guillaume de Rorthais, but the fix is mine, nothis.Discussion:https://postgr.es/m/20220628225325.53d97b8d@karstBackpatch to release 14 where this code was introduced.1 parent83eccb8 commit97ee956
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 |
| |
130 | 133 |
| |
131 | 134 |
| |
|
0 commit comments
Comments
(0)