Re: PostgreSQL Gotchas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Chris Travers <chris(at)travelamericas(dot)com>, Scott Marlowe <smarlowe(at)g2switchworks(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, "Aly S(dot)P Dharshi" <aly(dot)dharshi(at)telus(dot)net>, "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Gotchas
Date: 2005-10-16 16:40:25
Message-ID: 8423.1129480825@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> Actually, perhaps an even more restricted version would be better.
> Lowercase quoted identifiers only if they are all uppercase. So then:

No, I think the original proposal was better. This one doesn't fix
things for the lusers who think "MixedCase" and unquoted MixedCase
should be the same.

> Note to implementor: In 'SELECT 1 as "Title"', the quoted string should
> not be lowercased, even if you are lowercasing everything else...

You don't get to have that, I think, because the lexer is not context
aware. It's not clear to me why it's a good idea anyway.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2005-10-16 16:48:01 Re: [GENERAL] Oracle buys Innobase
Previous Message Andrew Janian 2005-10-16 16:28:52 Long running update