2009/12/6 José María Terry Jiménez <jtj(at)tssystems(dot)net>:
>
> Thank you very much. This worked, also worked with ' instead $outer$ BUT
> escaping the ' in minute with two of them ' 'minute' '.
>
> What does $outer$ or when i must use it?
It's a type of quoting... Take a look here:
http://www.postgresql.org/docs/8.3/static/sql-syntax-lexical.html
section 4.1.2.2 for more info.