From: Thomas Pundt <mlists@rp-online.de>
To: pgsql-admin@postgresql.org
Cc: Alexander B. <burbello3000@yahoo.com.br>
Subject: Re: Case-sensitive
Date: Thu, 25 Jan 2007 13:05:47 +0100
Message-ID: <200701251305.47779.mlists@rp-online.de> (raw)
In-Reply-To: <45B88BEC.5050209@yahoo.com.br>
References: <45B88BEC.5050209@yahoo.com.br>
Hi,
On Thursday 25 January 2007 11:52, Alexander B. wrote:
| One developer asked me about case-sensitive, if its possible disable
| Postgres not consider when using comparative functions.
| Eg.:
| select * from people
| where upper(name) like upper('A%');
|
| Is there any parameter that don't take in account case-sensitive, or any
| other way to treat??
name ilike 'a%';
name ~* '^a';
For pattern matching operators you can take a look at
http://www.postgresql.org/docs/8.2/interactive/functions-matching.html
Ciao,
Thomas
--
Thomas Pundt <thomas.pundt@rp-online.de> ---- http://rp-online.de/ ----
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-admin@postgresql.org
Cc: mlists@rp-online.de, burbello3000@yahoo.com.br
Subject: Re: Case-sensitive
In-Reply-To: <200701251305.47779.mlists@rp-online.de>
References: <45B88BEC.5050209@yahoo.com.br> <200701251305.47779.mlists@rp-online.de>
* 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