Howard Cole <howardnews@selestial.com> writes:
> Interestingly, this is the latest tsearch2 function that ships with
> 8.0.3 - note the slightly different syntax to the one below. It looks
> like the compatibility issue is caused by this.
Read the 8.0.3 release notes ...
http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-3
regards, tom lane