Received: from www.credativ.de (cdt1.tz-juelich.de [195.37.52.66]) by postgresql.org (Postfix) with ESMTP id 832AD4758F8 for ; Wed, 10 Jul 2002 09:15:11 -0400 (EDT) Received: from feivel.credativ.de (feivel.credativ.de [172.26.14.7]) by www.credativ.de (Postfix) with ESMTP id 18F9CD67BB for ; Wed, 10 Jul 2002 15:22:04 +0200 (CEST) Received: by feivel.credativ.de (Postfix, from userid 1000) id 65315A6052; Wed, 10 Jul 2002 15:22:00 +0200 (CEST) Date: Wed, 10 Jul 2002 15:22:00 +0200 From: Michael Meskes To: pgsql-general@postgresql.org Subject: Re: Disabling case sensitivity Message-ID: <20020710132200.GA3558@feivel.credativ.de> Mail-Followup-To: pgsql-general@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Archive-Number: 200207/527 X-Sequence-Number: 27014 On Tue, Jul 09, 2002 at 04:11:38PM -0700, igor wrote: > I would like to know if there is some way how to disable case > sensitivity in PostgreSQL server. With some varaiable or some setting > in configuration file or how? > So after this would be the same 'Good' and 'GOOD' or 'GoOd' in some > SELECT from table where username='Good'. I wanna get the same row > with: > SELECT from table where username='GoOd'; Can't you use something like SELECT from table where tolower(username)='good'; ? > Exactly like in MS SQL server. You mean MS SQL is not case sensitive for data? But it is for attribute names. Not exactly what I call a logical setup. :-) Michael -- Michael Meskes Michael@Fam-Meskes.De Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!