Re: test data type - Mailing list pgsql-general

From Silvio Emanuel Barbosa de Macedo
Subject Re: test data type
Date
Msg-id Pine.GSO.3.96.990121131716.11199A-100000@newton.inescn.pt
Whole thread Raw
In response to test data type  (JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>)
List 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@inescn.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








pgsql-general by date:

Previous
From: Markus Gottwals
Date:
Subject: Timeout
Next
From: Jeff Hoffmann
Date:
Subject: Re: [GENERAL] Multiple Postgres Instances