Re: Safe usage of tsearch2: to_tsquery('<user input>')

From: cluster <skrald(at)amossen(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Safe usage of tsearch2: to_tsquery('<user input>')
Date: 2007-08-05 14:17:07
Message-ID: f94m4r$pf1$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Isn't plainto_tsquery() what you're looking for?

Yes if plainto_tsquery() is safe enough for inputting user search
keywords it looks like it is. I didn't knew it existed.

Thanks

In response to

Browse pgsql-general by date

  From Date Subject
Next Message cluster 2007-08-05 14:21:45 Modelling tags
Previous Message Merlin Moncure 2007-08-05 13:18:43 Re: Linux distro