Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZJYY-0007AY-IG for pgsql-general@arkaria.postgresql.org; Tue, 18 Dec 2018 17:53:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZJYW-0001aL-Kp for pgsql-general@arkaria.postgresql.org; Tue, 18 Dec 2018 17:53:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZJYW-0001X4-9G for pgsql-general@lists.postgresql.org; Tue, 18 Dec 2018 17:53:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZJYT-0002Br-Hl for pgsql-general@lists.postgresql.org; Tue, 18 Dec 2018 17:53:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wBIHrFYu002734; Tue, 18 Dec 2018 12:53:15 -0500 From: Tom Lane To: Howard News cc: pgsql-general@lists.postgresql.org Subject: Re: Problem with text search in Postgresql 10 In-reply-to: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com> References: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com> Comments: In-reply-to Howard News message dated "Tue, 18 Dec 2018 16:59:29 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2732.1545155595.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 18 Dec 2018 12:53:15 -0500 Message-ID: <2733.1545155595@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Howard News 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