Re: [HACKERS] bytea, index and like operator again and detailed report

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org, Alvar Freude <alvar(at)a-blast(dot)org>
Subject: Re: [HACKERS] bytea, index and like operator again and detailed report
Date: 2003-12-06 19:38:50
Message-ID: 14717.1070739530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joe Conway <mail(at)joeconway(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kurt Roeckx 2003-12-06 19:43:38 Re: IDENT and IPv6 (was Re: [GENERAL] pg_hba.conf
Previous Message Seum-Lim Gan 2003-12-06 19:30:02 Re: IDENT and IPv6 (was Re: [GENERAL] pg_hba.conf

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-12-06 23:15:30 minor SGML improvements
Previous Message Joe Conway 2003-12-06 17:38:44 Re: [HACKERS] bytea, index and like operator again and detailed report