Bug #19951 : levenshtein_less_equal returns 0 when exact distance is 1 with a negative cost

Log in to edit
ID 7799
Title Bug #19951 : levenshtein_less_equal returns 0 when exact distance is 1 with a negative cost
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 1, First patch: +19−0, All patches: +19−0
Tags Bugfix
Created 2026-12-05 13:21:52
Last modified 2026-12-05 13:21:52 (11 minutes ago)
Latest email 2026-11-28 15:54:37 (6 days ago)
Status
PG20-4 (2027-01-01 – 2027-01-31): Needs review
Target version stable
Authors Nitin Motiani (nitinmotiani)
Reviewers Log in to become reviewer
Committer
Links
Emails
BUG #19951: levenshtein_less_equal returns 0 when exact distance is 1 with a negative cost
First at 2026-11-25 17:38:01 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-11-28 15:54:37 by Nitin Motiani <nitinmotiani at google.com>
Latest attachment (v1-0001-Fix-levenshtein_less_equal-with-negative-edit-cos.patch) at 2026-11-28 15:54:37 from Nitin Motiani <nitinmotiani at google.com>
    Attachment (v1-0001-Fix-levenshtein_less_equal-with-negative-edit-cos.patch) at 2026-11-28 15:54:37 from Nitin Motiani <nitinmotiani at google.com> (Patch: Pending check)
History
When Who What
2026-12-05 13:21:52 Nitin Motiani (nitinmotiani) Attached mail thread 19951-00a787789853f03c@postgresql.org
2026-12-05 13:21:52 Nitin Motiani (nitinmotiani) Created patch record
Log in to edit