Re: SQL Standards Compliance With Casexx

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SQL Standards Compliance With Casexx
Date: 2006-07-13 01:23:51
Message-ID: Pine.LNX.4.64.0607121822540.14352@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 12 Jul 2006, Stephan Szabo wrote:

> AFAIK, SQL says that an non-quoted identifier such as Foo is treated as
> FOO (case-folded to upper). PostgreSQL currently treats it as foo
> (case-folded to lower). Quoted identifiers are not case-folded and are
> compared case-sensitive.
>
> So, for example my understanding of spec would say:

Thank you very much for the complete explanation, Stephan.

> These seem to be complaining that there's already a table, view, index,
> etc with that name already. Is there one being created with a different
> case that's assuming that it'll preserve case rather than fold?

That's what Josh pointed out. I totally missed that.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc.(TM) | Accelerator
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2006-07-13 02:12:53 Re: Mailing lists again
Previous Message Rich Shepard 2006-07-13 01:21:15 Re: SQL Standards Compliance With Case