X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id E6549D1B4E1 for ; Thu, 25 Sep 2003 17:57:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 38402-09 for ; Thu, 25 Sep 2003 14:56:58 -0300 (ADT) Received: from CISX-Linux4.cisx.com (unknown [213.133.202.58]) by svr1.postgresql.org (Postfix) with ESMTP id CE3A3D1B501 for ; Thu, 25 Sep 2003 14:56:56 -0300 (ADT) Received: from DEMOLITION ([192.168.100.22]) by CISX-Linux4.cisx.com (8.12.8/8.12.8) with SMTP id h8PHtqOF016752 for ; Thu, 25 Sep 2003 18:55:52 +0100 Message-ID: <00a901c3838e$76ae8790$1664a8c0@DEMOLITION> From: "Donald Fraser" To: "[ADMIN]" References: Subject: Re: Case Insensitive comparison Date: Thu, 25 Sep 2003 18:57:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/414 X-Sequence-Number: 10502 Ok I will have a look at how to put it on gborg. Regards Donald Fraser ----- Original Message ----- From: "scott.marlowe" To: "Donald Fraser" Cc: "[ADMIN]" Sent: Thursday, September 25, 2003 6:34 PM Subject: Re: [ADMIN] Case Insensitive comparison > Any chance of those libs being put somewhere public (gborg.postgresql.org > or something?) > > On Thu, 25 Sep 2003, Donald Fraser wrote: > > > > > ----- Original Message ----- > > From: George A.J > > To: pgsql-admin@postgresql.org > > Sent: Thursday, September 25, 2003 4:39 AM > > Subject: [ADMIN] Case Insensitive comparison > > > > > > >hai > > > > > >i am using postgresql 7.3.x. I am converting a database in MS SQL server to > > PostgreSQL. > > > > > >The main problems i am facing is that in sql server the text comparisons are > > case insensitive. how can i compare text case insensitive in postgresql > > >without using an upper() or lower() function in both sides (=). Is there any > > option to set in postgresql? > > >Is there any problem in overriding the = operator that compare text. ie > > droping the current operator = and creating a new = operator(text,text). Does > > >the existing = operator is using internally by postgres for some porpose. > > please help > > > > I have created a text data type which is case-insensitive. Everything is > > identical to type text in all other respects. If you would like I can email you > > the library files to make and install it. > > > > Regards > > Donald Fraser > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > > >