Re: ilike and --enable-multibyte=KOI8

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: juriy(at)avias(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ilike and --enable-multibyte=KOI8
Date: 2000-12-09 15:37:52
Message-ID: 20001210003752A.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Not reproduced here. It might be a bug depending on particular
> > data. Can you show me gdb backtrace?
> I will try to make the easiest situation with this bug,
> for now, I know only this:
>
> 1. FreeBSD 4.2-STABLE, 5-CURRENT.
> 2. the freshest pgsql from cvs
> 3. I use locale, ru_RU.KOI8-R (Russian charset)
> 4. ./configure --enable-locale --enable-multibyte=KOI8
> 5. the query is(if in query remove following %, pg doesn't crash):
> ---
> select distinct films.* from films
> left join music_titles using(id_f)
> left join mt_authors using (id_mt)
> left join authors using(id_a)
> where
> music_titles.mus_name iLike '%asd%' and
> (films.director iLike '%qwe%' or authors.family iLike 'zxc%');
> ---
>
> 6. gdb shows:
[snip]

I found a silly bug with src/backend/utils/adt/like.c. Can you try out
attached pacthes?
--
Tatsuo Ishii

Attachment Content-Type Size
like.patch text/plain 1.9 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-12-09 20:13:27 Re: Bug? 'psql -l' in pg_ctl?
Previous Message Hiroshi Inoue 2000-12-09 13:23:09 RE: [HACKERS] Japan pictures