Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] interesting PHP/MySQL thread

From: nolan(at)celery(dot)tssi(dot)com
To: scrappy(at)postgresql(dot)org (The Hermit Hacker)
Cc: JanWieck(at)Yahoo(dot)com (Jan Wieck),pgman(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian),josh(at)agliodbs(dot)com (Josh Berkus), mail(at)joeconway(dot)com (Joe Conway),pgsql-advocacy(at)postgresql(dot)org (\"\"Advocacy PostgreSQL\"\"),pgsql-general(at)postgresql(dot)org (PostgreSQL-general)
Subject: Re: [GENERAL] interesting PHP/MySQL thread
Date: 2003-06-23 03:29:29
Message-ID: 20030623032929.28505.qmail@celery.tssi.com (view raw or flat)
Thread:
Lists: pgsql-advocacypgsql-docspgsql-general
> On Sun, 22 Jun 2003 nolan(at)celery(dot)tssi(dot)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

In response to

Responses

pgsql-docs by date

Next:From: nolanDate: 2003-06-23 03:55:00
Subject: Re: [GENERAL] interesting PHP/MySQL thread
Previous:From: Alvaro HerreraDate: 2003-06-23 03:22:51
Subject: Re: [GENERAL] interesting PHP/MySQL thread

pgsql-advocacy by date

Next:From: nolanDate: 2003-06-23 03:55:00
Subject: Re: [GENERAL] interesting PHP/MySQL thread
Previous:From: Alvaro HerreraDate: 2003-06-23 03:22:51
Subject: Re: [GENERAL] interesting PHP/MySQL thread

pgsql-general by date

Next:From: nolanDate: 2003-06-23 03:55:00
Subject: Re: [GENERAL] interesting PHP/MySQL thread
Previous:From: Alvaro HerreraDate: 2003-06-23 03:22:51
Subject: Re: [GENERAL] interesting PHP/MySQL thread

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group