Re: Why Not MySQL? - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Why Not MySQL?
Date
Msg-id 391012D0.D06B42F4@tm.ee
Whole thread Raw
In response to Re: Why Not MySQL?  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: Why Not MySQL?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
The Hermit Hacker wrote:
> 
> On Wed, 3 May 2000, Hannu Krosing wrote:
> 
> > Malcontent null wrote:
> > >
> > > >Anyway, so the larger class of problem is for the Sybase/M$ user who
> > > >relies on case insensitive queries (which *are* available in Postgres)
> >
> > Maybe the right place to introduce case-insensitiveness would be in ODBC
> > driver then ?
> >

...

> > > 2) Case insensitive queries.
> >
> > Probably only the Access subset ("like", "order by", maybe even "=" ?)
> 
> don't we have a 'lower()' function?
> 
> SELECT * FROM <table> WHERE field ~* 'this string' ORDER BY lower(field);?
> 
> or
> 
> SELECT * FROM <table> WHERE lower(field) = lower('StriNg');

That's what I meant by introducing pushing the case-insensitiveness into ODBC, 
so that the MS Access program can be made case-insensitive automatically by

A) rewriting the queries to use lower()

or

B) by using case-insensitive operators where possible.

----------------
Hannu


pgsql-hackers by date:

Previous
From: "Mark Hollomon"
Date:
Subject: Re: plperl is still disabled
Next
From: Don Baccus
Date:
Subject: RE: Request for 7.0 JDBC status