Re: Case of strings - Mailing list pgsql-general

From Michael Chaney
Subject Re: Case of strings
Date
Msg-id 20040227145008.GC4467@michaelchaney.com
Whole thread Raw
In response to Case of strings  ("Simon Windsor" <simon.windsor@cornfield.org.uk>)
List pgsql-general
On Fri, Feb 27, 2004 at 12:06:58PM -0000, Simon Windsor wrote:
> Hi
>
> I have moved an application from MySQL to PgSQL, and after the making
> changes I thought all was ok.
>
> However, I have just realised that
>
> Where A = 'STRING'
>
> Is not the same as
>
> Where A ='String'

This is standard SQL.  It's possible to use functions inside index
definitions, so you can force case and search on the same.

Michael
--
Michael Darrin Chaney
mdchaney@michaelchaney.com
http://www.michaelchaney.com/

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: check for user validity
Next
From: "Keith Bottner"
Date:
Subject: Re: Postgres clustering?