Leonardo M. Ramé escribió:
> select
> idturno,
> infres::text
> from turno
> where
> infres::text ~~ $$%diagn\\\\'f3stico%$$;
Just make sure you don't have $$ in the search pattern ...
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support