translate / amagama

Web service for implementing a large-scale translation memory
http://amagama.translatehouse.org
GNU General Public License v3.0
90 stars 27 forks source link

Bug workaround to keep amaGama server alive #3197

Closed unho closed 10 years ago

unho commented 10 years ago

When querying for strings like '<a "\b">' (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.