From ncister@tin.it Fri Jul 27 11:28:30 2001 Received: from fep13-svc.tin.it (mta13-acc.tin.it [212.216.176.44]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6RBSUf67200 for ; Fri, 27 Jul 2001 07:28:30 -0400 (EDT) (envelope-from ncister@tin.it) Received: from tin ([212.216.225.171]) by fep13-svc.tin.it (InterMail vM.4.01.03.13 201-229-121-113) with SMTP id <20010727112803.IFMC28213.fep13-svc.tin.it@tin> for ; Fri, 27 Jul 2001 13:28:03 +0200 Message-ID: <011e01c1168f$be358f00$5b43a8c0@tin.it> From: "Nicola Cisternino" To: Subject: Full Case INSENSITIVE ... Date: Fri, 27 Jul 2001 13:31:56 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_011B_01C116A0.81846340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200107/152 X-Sequence-Number: 1911 Messaggio in formato MIME composto da pił parti. ------=_NextPart_000_011B_01C116A0.81846340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, ... We are a Microsoft SQL Server users by many years .... and now we would= like migrate our applications on PostgreSQL ... .but for us is very import= ant the case function in query operations .... SQL Server databases can be case-sensitive or case-insensitive depending on= installation options. If a database is case-sensitive, when you search for text data, you can use= any combination of uppercase and lowercase letters. For example, if you ar= e looking for a name such as "Smith," you can use the search conditions "= =3Dsmith" or "=3DSMITH." ... so as you can search any data with all standar= d operators ( ">" "<" ... etc...) without lost any record ! .... It's possible with PostgreSQL ??? ( .... i already know the ILIKE clause .= ... but it's insufficient !! ...) It will be a future implementation ??? Very thanks !! ------=_NextPart_000_011B_01C116A0.81846340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
... We are a Microsoft SQL = Server=20 users by many years .... and now we would like migrate our application= s=20 on PostgreSQL ... .but for us is very important the case function in q= uery=20 operations ....
SQL Server databases can be case-sens= itive or=20 case-insensitive depending on installation options.
If a database is case-sensitive, when you = search=20 for text data, you can use any combination of uppercase and lower= case=20 letters. For example, if you are looking for a name such as "Smith," you ca= n use=20 the search conditions "=3Dsmith" or "=3DSMITH." ... so as you can search an= y data=20 with all standard operators ( ">" "<" ... etc...)=20 without lost any record ! ....
 
It's possible with PostgreSQL ???  ( = .... i=20 already know the ILIKE clause .... but it's insufficient !! ...)
 
It will be a future implementation = =20 ???
 
Very thanks=20 !!
------=_NextPart_000_011B_01C116A0.81846340-- From zakkr@zf.jcu.cz Fri Jul 27 12:17:50 2001 Received: from ara.zf.jcu.cz (ara.zf.jcu.cz [160.217.161.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6RCHnf87208 for ; Fri, 27 Jul 2001 08:17:50 -0400 (EDT) (envelope-from zakkr@zf.jcu.cz) Received: (from zakkr@localhost) by ara.zf.jcu.cz (8.9.3/8.9.3/Debian 8.9.3-21) id OAA01307; Fri, 27 Jul 2001 14:17:44 +0200 Date: Fri, 27 Jul 2001 14:17:44 +0200 From: Karel Zak To: Nicola Cisternino Cc: pgsql-admin@postgresql.org Subject: Re: Full Case INSENSITIVE ... Message-ID: <20010727141744.I23719@ara.zf.jcu.cz> References: <011e01c1168f$be358f00$5b43a8c0@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <011e01c1168f$be358f00$5b43a8c0@tin.it>; from ncister@tin.it on Fri, Jul 27, 2001 at 01:31:56PM +0200 X-Archive-Number: 200107/153 X-Sequence-Number: 1912 On Fri, Jul 27, 2001 at 01:31:56PM +0200, Nicola Cisternino wrote: > Hi, > > ... We are a Microsoft SQL Server users by many years .... and now we > would like migrate our applications on PostgreSQL ... .but for us is > very important the case function in query operations .... > SQL Server databases can be case-sensitive or case-insensitive depending > on installation options. > If a database is case-sensitive, when you search for text data, you can > use any combination of uppercase and lowercase letters. For example, if > you are looking for a name such as "Smith," you can use the search > conditions "=smith" or "=SMITH." ... so as you can search any data with > all standard operators ( ">" "<" ... etc...) without lost any record ! .... > > It's possible with PostgreSQL ??? ( .... i already know the ILIKE clause .... but it's > insufficient !! ...) What is insufficient? You can use a lot of solutions for case insensitive oprations, like LIKE/ILIKE, upper(foo)=upper(bar), etc. See mailing list arhives, it's already discussed theme. > It will be a future implementation ??? very unsure... Karel -- Karel Zak http://home.zf.jcu.cz/~zakkr/ C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz From sszabo@megazone23.bigpanda.com Fri Jul 27 16:08:44 2001 Received: from megazone23.bigpanda.com ([216.136.151.41]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6RG8if92931 for ; Fri, 27 Jul 2001 12:08:44 -0400 (EDT) (envelope-from sszabo@megazone23.bigpanda.com) Received: from localhost (sszabo@localhost) by megazone23.bigpanda.com (8.11.2/8.11.2) with ESMTP id f6RG8ca82109; Fri, 27 Jul 2001 09:08:38 -0700 (PDT) Date: Fri, 27 Jul 2001 09:08:38 -0700 (PDT) From: Stephan Szabo To: Nicola Cisternino cc: pgsql-admin@postgresql.org Subject: Re: Full Case INSENSITIVE ... In-Reply-To: <011e01c1168f$be358f00$5b43a8c0@tin.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200107/161 X-Sequence-Number: 1920 On Fri, 27 Jul 2001, Nicola Cisternino wrote: > Hi, > > ... We are a Microsoft SQL Server users by many years .... and now we > would like migrate our applications on PostgreSQL ... .but for us is > very important the case function in query operations .... SQL Server > databases can be case-sensitive or case-insensitive depending on > installation options. If a database is case-sensitive, when you search > for text data, you can use any combination of uppercase and lowercase > letters. For example, if you are looking for a name such as "Smith," > you can use the search conditions "=smith" or "=SMITH." ... so as you > can search any data with all standard operators ( ">" "<" ... etc...) > without lost any record ! .... > > It's possible with PostgreSQL ??? ( .... i already know the ILIKE > clause .... but it's insufficient !! ...) > > It will be a future implementation ??? Probably not directly that way. Probably you'd be able to do it through all the mutant SQL character classing stuff when that's implemented. I don't know much about the locale stuff, but I'd guess that right now if you could find a locale which treated those characters as equivalent, you'd probably be able to get truly insensitive searches. (I don't know if that's even possible to specify in locales, but I'm sure someone who knows will pipe up with an answer now :) )