Re: case dumbiness in return from functions - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: case dumbiness in return from functions
Date
Msg-id 20080118124308.GB5326@alvh.no-ip.org
Whole thread Raw
In response to Re: case dumbiness in return from functions  (Nico Sabbi <nsabbi@officinedigitali.it>)
Responses Re: case dumbiness in return from functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Nico Sabbi wrote:

> yet I find disturbing that Postgres doesn't make the effort
> to respect the case specified by the user.

It does -- if you quote the names.

> 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 ?

Actually I think the standard mandates case-folding (though to upper
case rather than lower, i.e. the other way around)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: case dumbiness in return from functions
Next
From: "Gregory Williamson"
Date:
Subject: Re: Online Oracle to Postgresql data migration