From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | andrew(at)supernews(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: like/ilike improvements |
Date: | 2007-05-23 14:34:06 |
Message-ID: | 465450DE.7020609@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
>
> 3. UTF8: % can advance bytewise. _ must check it is on a first byte
> (else return match failure) and if so do NextChar. So primitives
> are NextChar, NextByte, ByteEq, IsFirstByte.
>
>
>
We should only be able to get out of step from the "%_" case, I believe,
so we should only need to do the first-byte test in that case (which is
in a different code path from the normal "_" case. Does that seem right?
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-05-23 14:38:53 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |
Previous Message | Alvaro Herrera | 2007-05-23 14:24:42 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-05-23 14:38:53 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |
Previous Message | Alvaro Herrera | 2007-05-23 14:24:42 | Re: CREATE TABLE LIKE INCLUDING INDEXES support |