Re: Case-sensitive - Mailing list pgsql-admin

From Thomas Pundt
Subject Re: Case-sensitive
Date
Msg-id 200701251305.47779.mlists@rp-online.de
Whole thread Raw
In response to Case-sensitive  ("Alexander B." <burbello3000@yahoo.com.br>)
List pgsql-admin
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/ ----

pgsql-admin by date:

Previous
From: "Alexander B."
Date:
Subject: Case-sensitive
Next
From: "Shoaib Mir"
Date:
Subject: Re: Case-sensitive