FAQ misinformation
FAQ misinformation
От:
Keith Anderson <keith@jollygreen.com>
Дата:
In your FAQ on at 'http://www.postgresql.org/docs/faq-english.html', Question 4.13 refers to the ILIKE operator, which does NOT exist in any current versions of PostgreSQL. According to the mailing list archives, it is slated for inclusion in the 7.1 release - but to include it in the FAQ before then is misleading (I just spent an hour trying to get it to work!). ----- Quote from the web page ----- 4.13) How do I perform regular expression searches and case-insensitive regular expression searches? The ~ operator does regular expression matching, and ~* does case-insensitive regular expression matching. The case-insensitive variant of LIKE is called ILIKE. ----- End Quote ----- Thanks, Keith PS - LOVE the software. Been using it since 95! Keep up the good work. ======================================================== == GIANT Network Productions == == web hosting + web design + consulting == ======================================================== ++ 541 . 684 . 9798 http://www.jollygreen.com/ ++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: FAQ misinformation
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Sorry. I tried to get it updated for 7.1 a little too early this time. Let me add a mention in the FAQ now. > > In your FAQ on at 'http://www.postgresql.org/docs/faq-english.html', > Question 4.13 refers to the ILIKE operator, which does NOT exist in > any current versions of PostgreSQL. According to the mailing list > archives, it is slated for inclusion in the 7.1 release - but to > include it in the FAQ before then is misleading (I just spent an hour > trying to get it to work!). > > ----- Quote from the web page ----- > 4.13) How do I perform regular expression searches and > case-insensitive regular expression searches? > > The ~ operator does regular expression matching, and ~* does > case-insensitive regular expression matching. The case-insensitive > variant of LIKE is called ILIKE. > ----- End Quote ----- > > Thanks, > Keith > > PS - LOVE the software. Been using it since 95! Keep up the good work. > ======================================================== > == GIANT Network Productions == > == web hosting + web design + consulting == > ======================================================== > ++ 541 . 684 . 9798 http://www.jollygreen.com/ ++ > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026