"Erik R." <erik@mage.net> writes:
> Any tsearch query results in the following error message:
> mydb=# select * from product_search('test');
> ERROR: could not find tsearch config by locale
What does "locale" report on your machine? AFAICS this error message
just means that "setlocale(LC_CTYPE, NULL)" returned a string that did
not match any entry in pg_ts_cfg.
regards, tom lane