Re: LIKE erratic? or unseen DB corruption?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank Miles <fpm(at)u(dot)washington(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: LIKE erratic? or unseen DB corruption?
Date: 2001-05-21 16:09:00
Message-ID: 28847.990461340@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Frank Miles <fpm(at)u(dot)washington(dot)edu> writes:
> A direct query gets appropriate rows of data:
> dbname=# select * from partdef where shpname = 'IDC16W';
> ...while the very same query (substituting LIKE for the '=' sign) gets nothing!?

Hm. Does EXPLAIN show the same kind of plan (index or seq scan) for
both queries? If not, does forcing the plan choice via ENABLE_xxxSCAN
make a difference? Do you have locale support turned on, and if so
what locale are you using?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abhimanyu_Bhola 2001-05-21 16:09:47 RE: psql shell problem
Previous Message Denis A. Doroshenko 2001-05-21 16:07:23 Re: psql shell problem