Re: [SQL] select ... from ... where ... ~* 'C++'

From: "tjk(at)tksoft(dot)com" <tjk(at)tksoft(dot)com>
To: dolog(at)mcprogress(dot)com (Martin Dolog)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] select ... from ... where ... ~* 'C++'
Date: 1999-09-04 17:38:40
Message-ID: 199909041738.KAA10486@uno.tksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Martin,

Try

select something from something_t where some ~* 'C[+][+]'

or rather,

select something from something_t where some like '%C++%'

Troy

>
>
> hi *,
>
> PLease, how can I make case insensitive query
> which work with string like 'C++' too ?
>
> select something from something_t where some ~* 'C++'
>
> doesn't work!
> I got following error message:
>
> "ERROR: regcomp failed with error repetition-operator operand invalid"
>
>
> I am running on Linux/Redhat6/postgresql6.5 compiled
> with --enable-locale flag.
>
>
> Thank you very much for help.
>
>
>
> Martin
>
> --
>
> #md
>
> ************
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message sukmin 1999-09-06 02:32:47 :-)
Previous Message Martin Dolog 1999-09-04 14:33:28 select ... from ... where ... ~* 'C++'