Re: [PATCH] Fix LTREE subpath with negative offset

2025-11-01 Thread Tom Lane
Marcus Gartner writes: > subpath(ltree,offset,len) now correctly errors when given an offset less > than -n where n is the number of labels in the given ltree. A duplicate > block of code has been removed which allowed an offset as low as -2n. Nice catch ... as far as I can see from the git histo

[PATCH] Fix LTREE subpath with negative offset

2025-11-01 Thread Marcus Gartner
subpath(ltree,offset,len) now correctly errors when given an offset less than -n where n is the number of labels in the given ltree. A duplicate block of code has been removed which allowed an offset as low as -2n. 0001-Fix-LTREE-subpath-with-negative-offset.patch Description: Binary data