From: tjk@tksoft.com <tjk@tksoft.com>
To: dolog@mcprogress.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] select ... from ... where ... ~* 'C++'
Date: Sat, 4 Sep 1999 10:38:40 -0700 (PDT)
Message-ID: <199909041738.KAA10486@uno.tksoft.com> (raw)
In-Reply-To: <37D12DB8.F94227A3@mcprogress.com>
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
>
> ************
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tjk@tksoft.com, dolog@mcprogress.com
Subject: Re: [SQL] select ... from ... where ... ~* 'C++'
In-Reply-To: <199909041738.KAA10486@uno.tksoft.com>
References: <37D12DB8.F94227A3@mcprogress.com> <199909041738.KAA10486@uno.tksoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox