Re: Problem with text search in Postgresql 10

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Howard News <howardnews(at)selestial(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Problem with text search in Postgresql 10
Date: 2018-12-18 17:53:15
Message-ID: 2733.1545155595@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howard News <howardnews(at)selestial(dot)com> writes:
> If I try:
> select to_tsquery('english', 'hello');
> I get the error
> ERROR:  invalid input syntax for type oid: "english"

Huh, should work. What does "\df *.to_tsquery" show?

> Any ideas how to fix this? I have read in older support forums that the
> problem may be related to older contrib methods for ts_query. If this is
> so - how do I remove the contrib decalrations?

Could be something like that, but let's not theorize in advance of
the data.

If you could find out what PG version the older database was, that'd help.
Also, was text search working for your colleague in the old installation?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steven Lembark 2018-12-18 21:42:14 Re: conditionally terminate psql script
Previous Message Howard News 2018-12-18 16:59:29 Problem with text search in Postgresql 10