Re: Can I turn the case sensitive off - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Can I turn the case sensitive off
Date
Msg-id 20030724181617.O9691-100000@megazone.bigpanda.com
Whole thread Raw
In response to Re: Can I turn the case sensitive off  ("Terence Chang" <TChang@nqueue.com>)
List pgsql-general
On Thu, 24 Jul 2003, Terence Chang wrote:

> I am still getting the error. would this matter with 7.3.3 on windows with
> cygwin?
>
> My query only works when I quote the field. Also I have to always use the
> schema name in the where clause. Is there any way that I can set default
> schema to "app_v08" but not public? Thank you very much!
>

See the search_path variable.

> My table users contains a field "FIRSTNAME" in upper case.

Generally speaking, if you quote a name when you create it you should
quote the name when referencing it. If we used spec complient
case-folding, then you'd be able to reference "FIRSTNAME" without quotes,
but "firstname" or "Firstname" would still require quotes, so it's best to
be consistent.



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Fw: Is SQL silly as an RDBMS<->app interface?
Next
From: Dennis Gearon
Date:
Subject: Re: Fw: Is SQL silly as an RDBMS<->app interface?