Re: Is it possible to search for sub-strings...

From: "Mitch Vincent" <mitch(at)venux(dot)net>
To: "Steve Heaven" <steve(at)thornet(dot)co(dot)uk>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is it possible to search for sub-strings...
Date: 2000-09-19 16:22:14
Message-ID: 010a01c02255$c5f13de0$0200000a@doot
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> >LIKE can use indexes, ~* can not, that's LIKE's main advantage (at least
in
> >my opinion).
> >
>
> ~ does use indexes, ~* doesnt,
> but then nor does the equivalent upper(columnname) LIKE 'TERM'. Make sure
> you're comparing apples with apples.

Indeed, all that's true but did I say otherwise? What I said was true, just
not as detailed as yours.. Apples to apples though, the origional poster
just wanted to search for substrings and said nothing about case.

No big deal, just clearing that up.

-Mitch

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-09-19 16:24:01 Re: Re[2]: WTF is going on with PG_VERSION?
Previous Message Steve Heaven 2000-09-19 16:06:39 Re: Is it possible to search for sub-strings...