Re: [HACKERS] bytea, index and like operator again and - Mailing list pgsql-patches

From Joe Conway
Subject Re: [HACKERS] bytea, index and like operator again and
Date
Msg-id 3FD2A95D.6020004@joeconway.com
Whole thread Raw
In response to Re: [HACKERS] bytea, index and like operator again and detailed report  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> 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


pgsql-patches by date:

Previous
From: David Fetter
Date:
Subject: Double Backslash example patch
Next
From: Peter Eisentraut
Date:
Subject: Re: Double Backslash example patch