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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-docs pgsql-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

Browse pgsql-advocacy by date

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

Browse pgsql-docs by date

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

Browse pgsql-general by date

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