Re: Correct place for feature requests

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Correct place for feature requests
Date: 2015-06-25 19:39:43
Message-ID: CAKFQuwa39WXhzmaCY5714oCpi6no5RykCjfKCXU85vsEym2dOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 25, 2015 at 3:29 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> On 6/25/2015 11:59 AM, Алексей Бережняк wrote:
>
>> I think that PostgreSQL is great RDBMS, but one important (for me)
>> feature that it missing is case-insensitive identifier quotes
>> ([table].[column]) like in Microsoft SQL Server.
>>
>
> putting names in [ ] is not part of any SQL specification.
>
> I know that there are double quotes, but they are case-sensitive.
>>
>> Or maybe some option that will make double quotes case-insensitive.
>>
>
> the current behavior is compliant with the SQL specification. if you
> want case-insensitive, don't quote the identifiers. if you do quote them,
> they are implicitly case sensitive according to the specifications.

​all identifier comparisons are case-sensitive - but unquoted identifiers
are case-folded to lower-case (in contravention of the SQL IIRC) before the
comparison is made.

Identifier == "identifier"

but the standard says

Identifier == "IDENTIFIER"

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Алексей Бережняк 2015-06-25 19:52:18 Re: Correct place for feature requests
Previous Message Alvaro Herrera 2015-06-25 19:33:24 Re: Correct place for feature requests