Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes - Mailing list pgsql-patches

From Joe Conway
Subject Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Date
Msg-id 3D604F96.6020901@joeconway.com
Whole thread Raw
In response to bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")  (Joe Conway <mail@joeconway.com>)
Responses Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> This is not gonna fly: the reason why that Assert is there is that
> the rest of the pattern-analysis code assumes it can work with
> null-terminated strings.  If you want a one-line patch then the patch
> is to change the right-hand argument of bytealike to TEXT.  A "real"
> patch would probably require changing all the patternsel routines to
> use counted strings, which seems like it will add major uglification.

OK. I'll look at both options and make another diff -c proposal ;-) Once
that's resolved I'll go back to original issue Alvar raised.

BTW, you were right-on on the other issue. I started with a fresh sync
up from cvs, then configure, make all, make install, initdb. Now the
problem is gone.

As always, thanks for your help and guidance.

Joe


pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Next
From: Tom Lane
Date:
Subject: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")