2011/12/15 Edson neto <edson.edsn...@gmail.com>:
>
> Na documentação encontrei apenas exemplos de fazer a pesquisa utilizando
> to_tsquery('palavra:*') não achei uma forma de
> fazer to_tsquery(':*palavra:*') -> (nem sei se ficaria assim, é só pra
> ilustrar).

http://www.postgresql.org/docs/9.1/interactive/textsearch-tables.html#TEXTSEARCH-TABLES-SEARCH

WHERE to_tsvector('english', body) @@ to_tsquery('english', 'friend');
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a