Re: SQL Standards Compliance With Case

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

On Wed, 12 Jul 2006, Tom Lane wrote:

> It's probably worth pointing out here that the MySQL behavior they seem to
> be expecting is considerably further from the spec than Postgres's
> behavior. If I'm reading between the lines correctly, they are expecting
> foo and Foo (both written without double-quotes) to be distinct
> identifiers. But these are the same identifier per spec, because the spec
> *requires* case-folding of unquoted identifiers.

Thanks very much, Tom.

It turns out that the problem was index names. I tried to solve that, but
being unfamiliar with the entire application structure, I ended up defining
the same index name more than once. Sigh.

I do appreciate the insight about case. I've always used only lower case
for table and field names, even back in the DOS days when I was writing
database applications in C.

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 Tom Lane 2006-07-13 03:37:04 Re: getting function argument names from psql?
Previous Message Tom Lane 2006-07-13 03:26:14 Re: SQL Standards Compliance With Case