Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id B91E2118883B for ; Tue, 17 Jul 2012 00:21:03 -0300 (ADT) Received: from mail-yw0-f46.google.com ([209.85.213.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SqyLL-0005WD-Jb for pgsql-jdbc@postgresql.org; Tue, 17 Jul 2012 03:21:02 +0000 Received: by yhmm54 with SMTP id m54so6033960yhm.19 for ; Mon, 16 Jul 2012 20:20:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=GkxBKqanBsdWJBI8GFnZpkrOAA/CxrJqDcWBaMLE5ZQ=; b=GM57W/CHcSCfEWRkzEJhHlPZiQYy/EkKwJZ3ZQ+oq8QBlJw3QoRSHTJGnfOWOEfAZ5 8pzQjbIjFzJMHJYW9N8UAifhTnF0sq5Q4NgCWk775nlUjoqIXaGONIAoo/2XTRe2mVHT q/OpMPSF6oothukvQcHi1Wjr7RQiBJHMGMV65tQv1x2AIBmhgbOBGQ0pNAYr7vQApMTt VqM/NFBOkkBqYzTUXT44MjsRiOaJ5i127hF8vrEOOk5HAkZb4m1aqLCpFsS8KUSPP7gF T9pBWCu9mYH3hO6QTlClgyBgbFhQk+nTochY+1VU1UE2GAAU0PSyPSQvqHpV3RAKm1xG nYOw== Received: by 10.66.80.34 with SMTP id o2mr1795105pax.36.1342495242653; Mon, 16 Jul 2012 20:20:42 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id qp9sm13111973pbc.9.2012.07.16.20.20.34 (version=SSLv3 cipher=OTHER); Mon, 16 Jul 2012 20:20:41 -0700 (PDT) Message-ID: <5004D9FF.7070002@ringerc.id.au> Date: Tue, 17 Jul 2012 11:20:31 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Dave Cramer CC: dmp , David Johnston , pgsql-jdbc@postgresql.org Subject: Re: Case-sensitive problem in AS clause? References: <5004221A.4030508@antidot.net> <50043BC9.2090401@ttc-cmc.net> <014801cd6372$e9d20850$bd7618f0$@yahoo.com> <50045DFB.8010508@ttc-cmc.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm7aVxzysCYglTHUgBwqbMqM8N6ppmxakiPCtuc+jWbkfyozFuKdwVPZMfrTLEfyLVnQgbf X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/23 X-Sequence-Number: 23121 On 07/17/2012 02:48 AM, Dave Cramer wrote: > Ok, I just looked up the tutorial and it really is whether the value > stored in the column is case sensitive, not the name of the column. > > Yet another serious ambiguity in the API spec. Yay, won't THAT be fun to implement when Pg its self doesn't know whether any given type is case-sensitive or not (eg 'text' vs 'citext') and doesn't have the concept of per-column case sensitivity at all. What's the right thing to return here? True unless 'citext'? -- Craig Ringer