Re: test data type

From: Silvio Emanuel Barbosa de Macedo <smacedo(at)inescn(dot)pt>
To: jt-kirkpatrick(at)mpsllc(dot)com
Cc: pgsql general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: test data type
Date: 1999-01-21 13:21:11
Message-ID: Pine.GSO.3.96.990121131716.11199A-100000@newton.inescn.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi!

In the source tree of Postgresql you'll find:

postgresql-6.4.2/contrib/fulltextindex

and you'll read README:

---------
The included software is an attempt to add some sort of Full Text Indexing
support to PostgreSQL. I mean by this that we can ask questions like:

Give me all rows that have 'still' and 'nash' in the 'artist'
field.

Ofcourse we can write this as:

select * from cds where artist ~* 'stills' and artist ~* 'nash';

But this does not use any indices, and therefore, if your database
gets very large, it will not have very high performance (the above query
requires at least one sequential scan, it probably takes 2 due to the
self-join).
....
....
---------
I haven't tried, nor I'm sure this is the best solution...
Hope this helps!

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
`````````````````````````````````````````````
Silvio Emanuel Nunes Barbosa de Macedo
mailto:smacedo(at)inescn(dot)pt

INESC - Porto - Grupo CAV
Pc da Republica, 93 R/C Tel:351 2 209 42 21
4000 PORTO PORTUGAL Fax:351 2 208 41 72

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Hoffmann 1999-01-21 14:46:56 Re: [GENERAL] Multiple Postgres Instances
Previous Message Markus Gottwals 1999-01-21 10:59:40 Timeout