Re: default lower case of identifier - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: default lower case of identifier
Date
Msg-id ea94vf$sgr$1@news.hub.org
Whole thread Raw
In response to default lower case of identifier  ("jkzhao" <jkzhao@pku.edu.cn>)
List pgsql-hackers
""jkzhao"" <jkzhao@pku.edu.cn> wrote
>
>     But, create user "HU" then connect PostgreSQL by HU is wrong.
>

If you do
   postgres=# create user "HU";

You will get the "HU" as you want. Usage of the quotation marks is in the
manual.

>
> I'd like to know whether I can make PostgreSQL stands to the SQL92
> standard by changing some PostgreSQL's code?
>

Just cite Tom's post:
   The difference between what PG does and what the spec says can only be   observed when you sometimes double-quote a
particularidentifier and   sometimes don't.  PG makes FOO, Foo, foo and "foo" the same, but   different from "FOO" or
"Foo";while the spec would have FOO, Foo, foo   and "FOO" the same but different from "foo" or "Foo".
 

PostgreSQL is almost there and most of the problem is on the client side.

Regards,
Qingqing





pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug
Next
From: Mark Kirkwood
Date:
Subject: Re: On-disk bitmap index patch