translate/amagama — pull request #3197 by unho (2014-08-04 13:40:28+00:00)
Title: Bug workaround to keep amaGama server alive

When querying for strings like '' (being single quotes and double
quotes part of the string itself) we get a

ProgrammingError: syntax error in tsquery

exception. It is pretty uncommon to query for strings like this, but when
it happens we have the amaGama server down, sometimes for days.