Re: SQL Standards Compliance With Case - Mailing list pgsql-general

From Rich Shepard
Subject Re: SQL Standards Compliance With Case
Date
Msg-id Pine.LNX.4.64.0607122032340.6258@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: SQL Standards Compliance With Case  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL Standards Compliance With Case
Next
From: Tom Lane
Date:
Subject: Re: getting function argument names from psql?