Re: [HACKERS] like/ilike improvements

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Zeugswetter Andreas ADI SD <ZeugswetterA(at)spardat(dot)at>, andrew(at)supernews(dot)com, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] like/ilike improvements
Date: 2007-06-02 02:15:13
Message-ID: 200706020215.l522FDL07274@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
> > I'd suggest adding something like "If we are in the middle of a
> > multibyte character, we must already have matched at least one byte of
> > the character from both text and pattern; so we cannot get out-of-sync
> > on character boundaries. And we know that no backend-legal encoding
> > allows ASCII characters such as '%' to appear as non-first bytes of
> > characters, so we won't mistakenly detect a new wildcard."
> >
> >
> >
>
> Done, and committed.

Woohoo, that's a big one off the plate!

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-06-02 02:20:47 Re: Command tags in create/drop scripts
Previous Message Andrew Dunstan 2007-06-02 02:05:32 Re: [HACKERS] like/ilike improvements

Browse pgsql-patches by date

  From Date Subject
Next Message Pavan Deolasee 2007-06-02 02:38:27 Re: [pgsql-patches] Ctid chain following enhancement
Previous Message Andrew Dunstan 2007-06-02 02:05:32 Re: [HACKERS] like/ilike improvements