Re: [SQL] id and ID in CREATE TABLE - Mailing list pgsql-general

From Tom Lane
Subject Re: [SQL] id and ID in CREATE TABLE
Date
Msg-id 13931.1027100009@sss.pgh.pa.us
Whole thread Raw
In response to Re: [SQL] id and ID in CREATE TABLE  ("scott.marlowe" <scott.marlowe@ihs.com>)
Responses Re: [SQL] id and ID in CREATE TABLE  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
"scott.marlowe" <scott.marlowe@ihs.com> writes:
> Agreed.  Absolutely.  But, since the SQL standard says upper case,
> wouldn't it be useful to at least have a switch (run time, initdb time,
> or ./configure time???) called something like FOLDTOUPPER (in upper case
> of course :-)

The main problem with this is what do you do with the system catalogs?
If we start folding to upper case then existing clients will break
unless we also rename pg_class to PG_CLASS, etc; and that will break
them anyway if they wrote "pg_class".

I don't believe that conforming to this particular small aspect of the
spec is worth the pain it would cause.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] id and ID in CREATE TABLE
Next
From: Tim
Date:
Subject: RAD web development with PostgreSQL?