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 481B230F5CB; Mon, 23 Jun 2003 04:54:36 +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 82899-02; Mon, 23 Jun 2003 01:54:25 -0300 (ADT) Received: from mobile.hub.org (u153n214.eastlink.ca [24.224.153.214]) by svr1.postgresql.org (Postfix) with ESMTP id B050030F4C5; Mon, 23 Jun 2003 01:54:25 -0300 (ADT) Received: by mobile.hub.org (Postfix, from userid 1001) id 54559547; Mon, 23 Jun 2003 01:54:24 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mobile.hub.org (Postfix) with ESMTP id 44A99540; Mon, 23 Jun 2003 01:54:24 -0300 (ADT) Date: Mon, 23 Jun 2003 01:54:24 -0300 (ADT) From: The Hermit Hacker X-X-Sender: scrappy@hub.org To: nolan@celery.tssi.com Cc: The Hermit Hacker , Jan Wieck , Bruce Momjian , Josh Berkus , Joe Conway , "\"\"Advocacy PostgreSQL\"\"" , PostgreSQL-general Subject: Re: [GENERAL] interesting PHP/MySQL thread In-Reply-To: <20030623032929.28505.qmail@celery.tssi.com> Message-ID: <20030623015333.E95856@hub.org> References: <20030623032929.28505.qmail@celery.tssi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200306/173 X-Sequence-Number: 1385 On Sun, 22 Jun 2003 nolan@celery.tssi.com wrote: > > 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. Oh, you mean like "SELECT * FROM table WHERE field ~* 'nolan';"?