Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Дата
Msg-id 3D604F96.6020901@joeconway.com
обсуждение исходный текст
Ответ на bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")  (Joe Conway <mail@joeconway.com>)
Ответы Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes and "like")