agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Unquoted column names fold to lower case
Date: Wed, 3 Jul 2013 11:24:02 -0400
Message-ID: <20130703152402.GA6492@momjian.us> (raw)
In-Reply-To: <kr1bl9$96d$1@ger.gmane.org>
References: <CALSLE1PeLH4iqEyT5RH=d4Y3VmrRyxm6rvnV9fNC0++u9h-WWw@mail.gmail.com>
	<1372858894.60580.YahooMailClassic@web161605.mail.bf1.yahoo.com>
	<kr1bl9$96d$1@ger.gmane.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On Wed, Jul  3, 2013 at 04:16:41PM +0200, Thomas Kellerer wrote:
> Theodore Petrosky, 03.07.2013 15:41:
> > sorry, but you misunderstand. this is the correct behavior of SQL.
> > 
> > It is part of the specification to do this.
> > 
> 
> Not quite. The SQL standard requires folding to uppercase. 

Agreed.  The original poster specifically wanted "MYTABLE" and mytable
to be the same, not "mytable" and mytable.  Postgres is certainly
non-standard in this area.  I think the ability visiually distinguish
lower-case letters better than upper-case letters has led to our
behavior.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (23+ messages)  latest in thread

Message-ID: <20130703152402.GA6492@momjian.us>
Permalink:  ../20130703152402.GA6492@momjian.us/
Also on:    postgresql.org/message-id/20130703152402.GA6492@momjian.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruce@momjian.us, spam_eater@gmx.net
  Subject: Re: Unquoted column names fold to lower case
  In-Reply-To: <20130703152402.GA6492@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox