Re: Possible solution for LIKE optimization - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Possible solution for LIKE optimization
Date
Msg-id 3B6F2AFE.6CB4903@tpf.co.jp
Whole thread Raw
In response to RE: Possible solution for LIKE optimization  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> 
> Hiroshi Inoue writes:
> 
> > I'm not familiar with non_ASCII locale.
> > Is 'ss'  always guaranteed to be LIKE 's%'  for example ?
> 
> Yes.  LIKE doesn't use any collation rules, since it doesn't do any
> collating.
> 

Hmm I see the description like the following in SQL99 though I
don't understand the meaning.

i) If <escape character> is not specified, then the collating  sequence used for the <like predicate> is determined by
Table3, ‘‘Collating sequence usage for comparisons’’, taking <character  match value> as comparand 1 (one) and
<characterpattern> as  comparand 2.
 

regards,
Hiroshi Inoue


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Notes about int8 sequences
Next
From: Thomas Lockhart
Date:
Subject: Re: [GENERAL] user guide