X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 78349D1DA89 for ; Mon, 12 Jan 2004 22:22:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76839-10 for ; Mon, 12 Jan 2004 18:22:16 -0400 (AST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id 4E1D1D1DA94 for ; Mon, 12 Jan 2004 18:22:13 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1AgARq-000GXM-0W; Mon, 12 Jan 2004 22:22:15 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id ACF4A16464; Mon, 12 Jan 2004 22:22:13 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 133B815943; Mon, 12 Jan 2004 22:22:12 +0000 (GMT) From: Richard Huxton To: "scott.marlowe" Subject: Re: Case sensitivity Date: Mon, 12 Jan 2004 22:22:11 +0000 User-Agent: KMail/1.5 Cc: Dario Ottaviano , References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401122222.11458.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/536 X-Sequence-Number: 55564 On Monday 12 January 2004 17:58, scott.marlowe wrote: > On Mon, 12 Jan 2004, Richard Huxton wrote: > > On Sunday 11 January 2004 09:29, Dario Ottaviano wrote: > > > I use postgres on a window server (IIS 5.1) > > > Is there anybody that knows if is possible to make postgres no case > > > sensitive in the manipulating data into tables/views? > > > > There's no general "case_sensitive = yes/no" flag. There are > > case-insensitive operators you can use though. > > Is there a case insensitive locale? Or is that even possible? I've heard it proposed, but don't believe anyone liked the idea enough to do it. With my limited understanding of encoding/locale issues, that'd mean adding support at the OS level, I think. The other option would be an IVARCHAR type with suitably defined operators, but that's hardly very portable. -- Richard Huxton Archonet Ltd