pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix version comparison in Version.pm
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix version comparison in Version.pm
@ 2022-11-18 13:49  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Andrew Dunstan @ 2022-11-18 13:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/038512f71ea807d6c2b8e519f2416a9a5283d9bf

Modified Files
--------------
src/test/perl/PostgresVersion.pm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix version comparison in Version.pm
@ 2022-11-18 13:49  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Andrew Dunstan @ 2022-11-18 13:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/97ee956416e9d7906cde49cae5f65763ea943e77

Modified Files
--------------
src/test/perl/PostgreSQL/Version.pm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix version comparison in Version.pm
@ 2022-11-18 13:49  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Andrew Dunstan @ 2022-11-18 13:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/df4e93bea4f9370c14f01d27e6d36cbe7afaac72

Modified Files
--------------
src/test/perl/PostgreSQL/Version.pm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-11-18 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 13:49 pgsql: Fix version comparison in Version.pm Andrew Dunstan <andrew@dunslane.net>
2022-11-18 13:49 pgsql: Fix version comparison in Version.pm Andrew Dunstan <andrew@dunslane.net>
2022-11-18 13:49 pgsql: Fix version comparison in Version.pm Andrew Dunstan <andrew@dunslane.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox