Re: like-operator on index-scan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Degert <ad(at)papyrus-gmbh(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: like-operator on index-scan
Date: 2000-09-13 15:22:05
Message-ID: 7823.968858525@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Degert <ad(at)papyrus-gmbh(dot)de> writes:
> I'd like to know if anyone can reproduce a strange error in V7.02
> (debian i386). It happens when an index-scan is done in an index with
> more than 80 entries, using a like-match, where the %-wildcard
> directly follows a '/'.

Someone else just reported this a couple days ago. Very odd. I suspect
the problem is locale-related; what LOCALE do you run the postmaster in?

Also, it might help to look at the output of EXPLAIN VERBOSE for
the misbehaving query. That would let us see what indexscan limits
are being generated.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-09-13 16:34:07 Re: pg_dump of regression db?
Previous Message Tom Lane 2000-09-13 15:10:11 Re: null in constraints