pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Howard News <howardnews@selestial.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Problem with text search in Postgresql 10
Date: Tue, 18 Dec 2018 12:53:15 -0500
Message-ID: <2733.1545155595@sss.pgh.pa.us> (raw)
In-Reply-To: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com>
References: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com>

Howard News <howardnews@selestial.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




view thread (2+ messages)

Message-ID: <2733.1545155595@sss.pgh.pa.us>
Permalink:  ../2733.1545155595@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2733.1545155595@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, howardnews@selestial.com
  Subject: Re: Problem with text search in Postgresql 10
  In-Reply-To: <2733.1545155595@sss.pgh.pa.us>
  References: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com> <2733.1545155595@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox