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

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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
Date: 2003-12-07 04:15:25
Message-ID: 3FD2A95D.6020004@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

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

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-07 05:21:12 Re: Double linked list with one pointer
Previous Message Andrew Dunstan 2003-12-07 03:36:14 Re: IDENT and IPv6 (was Re: [GENERAL] pg_hba.conf

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-07 09:53:44 Re: Double Backslash example patch
Previous Message David Fetter 2003-12-07 01:53:07 Double Backslash example patch