Re: [SQL] select ... from ... where ... ~* 'C++' - Mailing list pgsql-sql

From tjk@tksoft.com
Subject Re: [SQL] select ... from ... where ... ~* 'C++'
Date
Msg-id 199909041738.KAA10486@uno.tksoft.com
Whole thread Raw
In response to select ... from ... where ... ~* 'C++'  (Martin Dolog <dolog@mcprogress.com>)
List 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
>
> ************
>
>

pgsql-sql by date:

Previous
From: Martin Dolog
Date:
Subject: select ... from ... where ... ~* 'C++'
Next
From: sukmin@netian.com
Date:
Subject: º¸½Ã°í ÇູÇϼ¼¿è :-)