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 <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings