X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 373F753446 for ; Mon, 11 Apr 2005 15:56:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32077-07 for ; Mon, 11 Apr 2005 18:56:50 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id BE36E534C4 for ; Mon, 11 Apr 2005 15:56:49 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 875B71522F; Mon, 11 Apr 2005 13:56:49 -0500 (CDT) Date: Mon, 11 Apr 2005 13:56:49 -0500 From: "Jim C. Nasby" To: Tom Lane Cc: Theo Galanakis , pgsql-admin@postgresql.org Subject: Re: Mysql to postgres Message-ID: <20050411185649.GW93835@decibel.org> References: <22593.1113202921@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22593.1113202921@sss.pgh.pa.us> X-Operating-System: FreeBSD 4.11-RELEASE i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/141 X-Sequence-Number: 17154 On Mon, Apr 11, 2005 at 03:02:01AM -0400, Tom Lane wrote: > I think you could probably also do it by building a locale whose > comparisons are case-insensitive, but I don't know enough about > locales to be sure. FWIW, this is how old versions of Sybase handled case insensitivity. Pretty much every other database I've worked on though, you want to go the lower()/lcase() route. citext is interesting; I'll have to look into that for stats.distributed.net. Another example of how incredibly extensible PostgreSQL is. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"