Alvar Freude wrote:
-- Joe Conway [EMAIL PROTECTED] wrote:
Please try the attached patch and let me know how it works for you. It is
against cvs HEAD, but should apply OK to 7.4.
so, I checked it with my database.
It looks good, all checks I made are OK.
The attached fixes the bytea-like bug
Joe Conway [EMAIL PROTECTED] writes:
! *prefix_const = string_to_bytea_const(match, match_pos);
! *rest_const = string_to_bytea_const(rest, pattlen - match_pos);
I think that should be pattlen - pos not pattlen - match_pos, no?
Otherwise it looks reasonable ...