Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5AFc-0004NI-10 for pgsql-general@arkaria.postgresql.org; Sat, 16 Mar 2019 14:25:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5AFa-00027P-IC for pgsql-general@arkaria.postgresql.org; Sat, 16 Mar 2019 14:25:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5AFY-000274-RD for pgsql-general@lists.postgresql.org; Sat, 16 Mar 2019 14:25:26 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5AFU-0004P4-Cf for pgsql-general@postgresql.org; Sat, 16 Mar 2019 14:25:24 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A64C4238FF; Sat, 16 Mar 2019 10:25:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 16 Mar 2019 10:25:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=T mLkT5urXCB1vqRj3P3JGUlD5/KPQPfrj8R/euAgHkc=; b=eLLOeVM+x2IlWcXtj qjfEMxLGpdZIeWKD/xWxV6QLHWZSs1lhSOHYZpMtqRQkXmM30XfPBmvA1fXWVECn skCA3L4ML1MY7coTcSUfY3wsdytg6OVd7qX541bGSQ+myxAOMjGrAW6rlKHgma0e wLmYbrt0yCsTX1KjfZ38CFuNREX03r3sMrTTF5PwbfaauCcYhJdia0vrN7MuoYsW ZHRNw5lHvBh+QYQ41L1OTrH0AUopuuD5SY/3S2PFsEE18mPM4zcCtk4+f45pIX8G +QuAiL848jvDXvMVlkkyuIbOHAeBTsvYjY0i7i9mEeTk1ku5jPAXDENnEiZOnhe4 LKjuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=TmLkT5urXCB1vqRj3P3JGUlD5/KPQPfrj8R/euAgH kc=; b=XS6Dx44IrRW1YtBOMm2r5AGRgNOwN5BFe2A0iNrQa7I8SSVwzk2LPrzLR gOlfW5sNncjiM+orWonEbRO8Dqq2+1FsGeJjwqW+TITZVATRZj9MTyaCMPo+aHYw q06Thl+kl0EcGhex+bKUp2unelelJP5jmthZYHee7V1tLAT9zmhOxcvI5KdjFzBw P1+hINW3FRDzs1b/EL0e4P+kU8RJ2gNrlv7/LvJ3igwbhNRMQS7gr9tEVtEqho7u XEVhLyaHeNIGlM85LgiRcOts2r7yDofF8R2Aja2zMRx+J+Cecmx/QZ0Ye30piCz2 4jI/vBneGCGgQoCfyO7QT7+RwYSdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrheejgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 36F88E435E; Sat, 16 Mar 2019 10:25:17 -0400 (EDT) Subject: Re: Fwd: Camel case identifiers and folding To: Steve Haresnape , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Sat, 16 Mar 2019 07:25:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/16/19 1:53 AM, Steve Haresnape wrote: > My apologies I sent this reply to David only by mistake. > > ---------- Forwarded message --------- > From: *Steve Haresnape* > > Date: Fri, 15 Mar 2019 at 13:09 > Subject: Re: Camel case identifiers and folding > To: David G. Johnston > > > > As I said, I don't want to quote my identifiers. I know what that does. > I want to specify them in a certain way, see them in that same way, but > refer to them in any old way. > > You can call it normalize or fold or whatever. It's a bad design choice, > and not even a completely compliant choice. It is SQL standard(sort of) so I would not call it a bad choice. It deviates from the standard in that it folds down not up, but for your case that would not matter. > > Is a cure contemplated? I know it's not just me that dislikes this. I would say no. Probably matched by folks who would dislike having it changed. > > On Fri, 15 Mar 2019 at 12:21, David G. Johnston > > wrote: > > On Thu, Mar 14, 2019 at 4:07 PM Steve Haresnape > > wrote: > > > > I'm porting a sql server database to postgresql 9.6. My camelCase > identifiers are having their humps removed. This is disconcerting > and sad. > > > > Is there a cure for this? > > No > > >I don't want to quote my identifiers unless I have to. > > PostgreSQL made the choice long ago to normalize unquoted identifiers > to lower case.  Quoting them will preserve whatever you type, > including case. > > David J. > > > > -- > Steve Haresnape > 60 Kauri Road, Awhitu, RD 4 Waiuku 2684 > s.haresnape@creativeintegrity.co.nz > > Phone: (09) 235 1698 > Mobile: 021 514 666 > > > -- > Steve Haresnape > 60 Kauri Road, Awhitu, RD 4 Waiuku 2684 > s.haresnape@creativeintegrity.co.nz > > Phone: (09) 235 1698 > Mobile: 021 514 666 -- Adrian Klaver adrian.klaver@aklaver.com