Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group