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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: SIMILAR TO incorrect with alternation



Aaron Bingham <bingham(at)cenix-bioscience(dot)com> writes:
> Here is a simple test case which triggers the problematic behavior.  I 
> would expect the SQL regular expression and POSIX regular expression 
> below to give the same results.  However, they produce different 
> answers.  The difference seems to be caused by a naive implementation of 
> similar_escape(text, text) as also demonstrated below.

Yup, we fixed that in 8.1.4 ...

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group