pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ben Schneider <bcschnei@attbi.com>
To: pgsql-novice@postgresql.org
To: pgsql-php@postgresql.org
Subject: Case Insensitive Searching?
Date: Fri, 23 May 2003 13:24:36 -0700
Message-ID: <001301c32169$54d90fa0$5011a8c0@micronpc> (raw)

I am working on a project where I am creating a PHP front end to a Postgres
database. The schema is new but the data is old. Meaning I had to convert
the data from the old Informix DB.

 

Anyway all of the existing data is in all upper case. However new data going
in will be in both upper and lower case.(As requested by the customer.)

 

So the question is, how do I perform a case insensitive search? Is there a
DB setting I can set to ignore the case?

 

If not, then an example of some PHP code that can do this would be of a
great help.

 

Thanks,

Ben

 

view thread (4+ messages)  latest in thread

Message-ID: <001301c32169$54d90fa0$5011a8c0@micronpc>
Permalink:  ../001301c32169$54d90fa0$5011a8c0@micronpc/
Also on:    postgresql.org/message-id/001301c32169$54d90fa0$5011a8c0@micronpc

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: bcschnei@attbi.com, pgsql-novice@postgresql.org
  Subject: Re: Case Insensitive Searching?
  In-Reply-To: <001301c32169$54d90fa0$5011a8c0@micronpc>
  References: <001301c32169$54d90fa0$5011a8c0@micronpc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox