> > And this is the actual query: > > I think you need to look into full-text indexing (see tsearch2).
Thanks, Tom. Yes, we know this. This is just a temporary fix that we needed to get up today for biz reasons. Implementing full-text searching within a few short hours was out of the question. Anyway, we found a temporary solution. We'll be doing this "properly" later. Thanks for taking the time to suggest this. Cheers, Dave ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq