From: | Nico Sabbi <nsabbi(at)officinedigitali(dot)it> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: case dumbiness in return from functions |
Date: | 2008-01-18 12:14:33 |
Message-ID: | 47909829.3020906@officinedigitali.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane ha scritto:
> Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
>
>> After discovering that pg_get_serial_sequence behaves in a bit
>> strange way[1] when it deals to case sensitiveness
>>
>
> The SQL standard specifies that unquoted identifiers are case-insensitive.
> You're welcome to spell them as camelCase in your source code if you
> feel like it, but don't expect that PG, or any other SQL-compliant
> database, will pay attention.
>
> regards, tom lane
>
>
yet I find disturbing that Postgres doesn't make the effort
to respect the case specified by the user. If I created a field
called "REF" why should Postgres call it "ref" in the output of queries
if the standard doesn't specify any obligation to convert the name ?
I'd like to have the possibility to enable this feature in future releases.
As for portability: it may not be a concern when you have at disposal
the best DB around :)
From | Date | Subject | |
---|---|---|---|
Next Message | Ivan Sergio Borgonovo | 2008-01-18 12:37:42 | Re: case dumbiness in return from functions |
Previous Message | Jon Hancock | 2008-01-18 10:08:42 | postgresql source build instructions for ubuntu 7.04 |