OR tsquery - Mailing list pgsql-general

From Ivan Sergio Borgonovo
Subject OR tsquery
Date
Msg-id 20100116153206.4657b3c4@dawn.webthatworks.it
Whole thread Raw
Responses Re: OR tsquery
Re: OR tsquery
List pgsql-general
to_tsquery and plainto_tsquery produce AND tsquery
'apple banana orange' -> 'apple' & 'banana' & 'orange'
I can't see anything that will produce OR tsquery.
'apple banana orange' -> 'apple' | 'banana' | 'orange'

The only thing I can think of is looping on ts_lexize that looks not
very efficient in plpgsql.

Am I missing something?

thanks

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: OT: Db2 connection pooling?
Next
From: Tom Lane
Date:
Subject: Re: OR tsquery