X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 297289FB1BA for ; Wed, 26 Jul 2006 22:31:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 66402-08 for ; Wed, 26 Jul 2006 22:31:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id ACAB59FAE4E for ; Wed, 26 Jul 2006 22:30:37 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 268FF30AED; Thu, 27 Jul 2006 03:30:34 +0200 (MET DST) From: "Qingqing Zhou" X-Newsgroups: pgsql.hackers Subject: Re: default lower case of identifier Date: Thu, 27 Jul 2006 09:28:12 +0800 Organization: Hub.Org Networking Services Lines: 33 Message-ID: References: <200607261549343289047@pku.edu.cn> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 To: pgsql-hackers@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.67 tagged_above=0 required=5 tests=AWL, WEIRD_QUOTING X-Spam-Level: X-Archive-Number: 200607/1331 X-Sequence-Number: 87186 ""jkzhao"" 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 particular identifier 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