From: Karel Zak <zakkr@zf.jcu.cz>
To: Borek Lupoměský <borekl@volny.cz>
Cc: pgsql-sql@postgresql.org
Subject: Re: Case insensitive string comparison?
Date: Tue, 15 May 2001 15:47:57 +0200
Message-ID: <20010515154756.A24706@ara.zf.jcu.cz> (raw)
In-Reply-To: <Pine.LNX.4.21.0105151445270.29217-100000@diaspar.ujep.cz>
References: <Pine.LNX.4.21.0105151445270.29217-100000@diaspar.ujep.cz>
On Tue, May 15, 2001 at 02:48:24PM +0200, Borek Lupoměský wrote:
> Is there an operator for case insensitive string comparison, or
> should I use regular expression matching with ~* '^string$'?
possibility:
- use upper() / lower() inside query
- regex operators: ~* or !~*
- case insensitive 'like'
Karel
--
Karel Zak <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/
C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: zakkr@zf.jcu.cz, borekl@volny.cz
Subject: Re: Case insensitive string comparison?
In-Reply-To: <20010515154756.A24706@ara.zf.jcu.cz>
* 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