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 1gZIjG-00036D-1F for pgsql-general@arkaria.postgresql.org; Tue, 18 Dec 2018 17:00: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 1gZIiF-0000Rk-QX for pgsql-general@arkaria.postgresql.org; Tue, 18 Dec 2018 16:59:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZIiF-0000Rd-F9 for pgsql-general@lists.postgresql.org; Tue, 18 Dec 2018 16:59:19 +0000 Received: from miami.speedyservers.com ([195.8.196.32]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZIiB-00075S-Pa for pgsql-general@lists.postgresql.org; Tue, 18 Dec 2018 16:59:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selestial.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B+ycP0XmUKquqGbU/48TwK5UyltF72LXujy6g0v4eSM=; b=kxCLFilZaRzITrsBsyMeNFeoeb upeVKHDOY+VOrnBF7A7BXacy2NlnEUk0wPXtDrpxGqVFG4+gv0RD0QCdtxBkPj8OHLoSgqH49E9DZ buxvIl29mRCIvW/x4QEOtHOzwS/frVdX+6XvXvxAZeQr17sPPO+3+531/Kwo0lO5/UWeniklnEHv2 9+pCIujgO0sDpxDUpnCttZlSiBM2EEStJYBPqmLBWFTOdn2hEpaBkhifi4wrGHUUOXo3RBZzWAcBC 2gSz3xX368CadXfpllos2Kbhh4Gcja96ZviTzAgHZRVLaPmBbi3xSzbLkAQhEFEO27HuwixD/n3xQ c9RozprA==; Received: from static-87-75-114-0.vodafonexdsl.co.uk ([87.75.114.0]:8591 helo=[192.168.0.10]) by miami.speedyservers.com with esmtpa (Exim 4.91) (envelope-from ) id 1gZIiA-007Tl9-2e for pgsql-general@lists.postgresql.org; Tue, 18 Dec 2018 16:59:14 +0000 To: pgsql-general@lists.postgresql.org From: Howard News Subject: Problem with text search in Postgresql 10 Message-ID: <094c0bc5-12af-90c7-8dab-d181efec3149@selestial.com> Date: Tue, 18 Dec 2018 16:59:29 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - miami.speedyservers.com X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - selestial.com X-Get-Message-Sender-Via: miami.speedyservers.com: authenticated_id: howardnews@selestial.com X-Authenticated-Sender: miami.speedyservers.com: howardnews@selestial.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi everyone, a colleague has restored a backup from an older version of Postgres (unknown) to version 10. Everything appears to be working fine with the exception of the text search. If I try: select to_tsquery('english', 'hello'); I get the error ERROR:  invalid input syntax for type oid: "english" LINE 1: select to_tsquery('english','Hello'); I can see from \dF that I have 'pg_catalog.english' installed. It works if I do not specify the dictionary using: select to_tsquery('hello'); 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? Thanks Howard