Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
> It would still be nice to be able to directly work with tsvector
> and tsquery so people could exploit the parser, lexer etc... and
> recycle the config.
> I'd thinking something in the line of
> for lex in select * from to_tsvector('jsjdjd fdsds')
Don't the tsearch debug functions provide what you want?
http://www.postgresql.org/docs/8.3/static/textsearch-debugging.html
regards, tom lane