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

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

Otherwise it looks reasonable ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: [HACKERS] bytea, index and like operator again and detailed report
Next
From: Neil Conway
Date:
Subject: minor SGML improvements