Re: ILIKE

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ILIKE
Date: 2003-02-23 21:02:27
Message-ID: 200302231302.27130.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 much faster than
lower('jehosaphat') = lower('Jehosaphat')

Why this sudden urge to prune away perfectly useful operators?

--
Josh Berkus
Aglio Database Solutions
San Francisco

Responses

  • Re: ILIKE at 2003-02-24 04:31:22 from Tom Lane
  • Re: ILIKE at 2003-02-24 12:30:18 from Peter Eisentraut

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-23 23:36:04 Re: pg_dump / restore of empty database gives errors
Previous Message Peter Eisentraut 2003-02-23 20:00:12 Re: [HACKERS] loading libraries on Postmaster startup