Tom Lane wrote:
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?



Yup -- you're right. Thanks for the review! Fixed and committed.


Joe


---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to