X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 24BA630F501 for ; Mon, 23 Jun 2003 03:29:43 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 53340-08 for ; Mon, 23 Jun 2003 00:29:32 -0300 (ADT) Received: from celery.tssi.com (celery.tssi.com [198.147.197.6]) by svr1.postgresql.org (Postfix) with SMTP id 8DE5C30F4B0 for ; Mon, 23 Jun 2003 00:29:31 -0300 (ADT) Received: (qmail 28506 invoked by uid 1000); 23 Jun 2003 03:29:29 -0000 Message-ID: <20030623032929.28505.qmail@celery.tssi.com> From: nolan@celery.tssi.com Subject: Re: [GENERAL] interesting PHP/MySQL thread To: scrappy@postgresql.org (The Hermit Hacker) Date: Sun, 22 Jun 2003 22:29:29 -0500 (CDT) Cc: JanWieck@Yahoo.com (Jan Wieck), pgman@candle.pha.pa.us (Bruce Momjian), josh@agliodbs.com (Josh Berkus), mail@joeconway.com (Joe Conway), pgsql-advocacy@postgresql.org (\"\"Advocacy PostgreSQL\"\"), pgsql-general@postgresql.org (PostgreSQL-general) In-Reply-To: <20030623000257.X95856@hub.org> from "The Hermit Hacker" at Jun 23, 2003 12:03:18 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/164 X-Sequence-Number: 1376 > On Sun, 22 Jun 2003 nolan@celery.tssi.com wrote: > > > MySQL also does case independent text comparisions, and apparently ONLY > > case-insensitive comparisons. > > Is this a good thing? Doesn't sound like it to me, but figured I'd ask :) I think it is a classic case of thinking 'small'. :-) The CIO on the project I'm working on thinks it is a good thing, but he's coming from a MySQL environment, which he only learned in the last year or so and he does not appear to have a lot of familiarity with larger databases. Personally, if I want case insensitivity, I'll WRITE IT INTO THE CODE, but I can see how some people might think that 'NOLAN', 'Nolan' and 'nolan' should be considered as the same data. BTW, I just tested it and MySQL does case folding on values in unique indexes, too. (Well, at least it is consistent.) -- Mike Nolan