Re: ILIKE - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: ILIKE
Date
Msg-id 200302231302.27130.josh@agliodbs.com
Whole thread Raw
In response to ILIKE  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ILIKE
Re: ILIKE
List pgsql-hackers
Peter,

Several reasons (because I like lists):
- Some other databases support ILIKE and it makes porting easier.
- For tables and/or subqueries that are too small to need an index, ILIKE is
perfectly acceptable.
- It's also useful for comparing expressions, and is faster to type than'jehosaphat' ~* '^Jehosaphat$', and certainly
muchfaster thanlower('jehosaphat') = lower('Jehosaphat') 

Why this sudden urge to prune away perfectly useful operators?

--
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Linking to "current" docs
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_dump / restore of empty database gives errors