pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wm.A.Stafford <stafford@marine.rutgers.edu>
To: pgsql-sql@postgresql.org
Subject: PostgesSQL equivalent of the Oracle 'contains'  operator
Date: Fri, 10 Nov 2006 11:10:22 -0500
Message-ID: <4554A46E.5020201@marine.rutgers.edu> (raw)

I'm beginning  a port of an Oracle  application to PostgrSQL.  One 
immediate issue is the use of the  Oracle 'contains' operator to do 
whole word searches on table rows that contain blank separated lists of 
names.  I  was told that the original application was written using the 
'like' operator but the contains operator was found to be much faster.

Is there a PostgreSQL equivalent for this type of use of the Oracle 
contains?

Thanks,
-=bill  stafford



view thread (2+ messages)  latest in thread

Message-ID: <4554A46E.5020201@marine.rutgers.edu>
Permalink:  ../4554A46E.5020201@marine.rutgers.edu/
Also on:    postgresql.org/message-id/4554A46E.5020201@marine.rutgers.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: stafford@marine.rutgers.edu
  Subject: Re: PostgesSQL equivalent of the Oracle 'contains'  operator
  In-Reply-To: <4554A46E.5020201@marine.rutgers.edu>

* 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