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 1hGYEs-0005mZ-MG for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 00:15:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGYDt-00087X-Eb for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 00:14:45 +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 1hGYDs-00087Q-Ds for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 00:14:45 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGYDk-0004US-1Z for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 00:14:43 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BE10123967; Tue, 16 Apr 2019 20:14:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 16 Apr 2019 20:14:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=Y Bu0a4F4oPB/aTY2kvMWQzhD25UYU9iqp5ZjipLA4jM=; b=fkkf/z33UyXLmaHFu p826AgXeHphhuwHNLvrJFUYwVkPWB8hRNbPUjknL47bIjaMxSIXdtuFQAnZj9hzs qLhy62ELTOqt321jE0ekqPOGqc4d3OmAlHBYRLT7nZjwtwA7882S+EOFoB0mTg9c LxKER8ofKMtbW98dSjOJrFlYn3YwQ3ZML02Qq6mSgqMnYC1Y8+T5+k/m52bAdLXh 9uElGOzTLKswzk/Payg6Iks03AdM7zDCRZASpTc9geRf/x83/9lixPkpQNrqLKuF JfWs4E/qOBAIPuk2mgPpmAETWrJQvWMpOhdGtmk25rsCFdis1PxAVyz1PEWg6tpY k1KUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=YBu0a4F4oPB/aTY2kvMWQzhD25UYU9iqp5ZjipLA4 jM=; b=X3jz4e6T1XyBmbBiJ8LpG58LgVWnA7y+UnWLME/4dSPeVsOBemSVoTYbs +FUXzv5Iitv6GylAgPsCANLinwXi9ysuoLt+VanEaJbP8bOJ9hr09Y8kYX9tS5Gz RDhq7csGIR/sjuOJSkaDyR8E2VWHnsNhiw4yVd1gAQRinJ86dYOEehBw4LQ6MhWS O5Nu5lkQknIoKDyuNTk933HWXzFG68OVIcdQVWWiJaJaaxYROVtpfswiiZuqb548 peHCOCE18dHcTYf9yk1HAulTIHmOWZm5goE16ubsHJVEcokvW7Ck0R8h8ltrj03n cmoLOrhOSN92CUPKVaXXEkQW1ROgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfedvgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefheenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepfihikhhiphgvughirg drohhrghdpphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejuddrvdduvddrudehtddr vddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrg hklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 924E2E432B; Tue, 16 Apr 2019 20:14:32 -0400 (EDT) Subject: Re: text search configuration missing while migration from 8.3 to 9.4 To: Julie Nishimura , "pgsql-general@lists.postgresql.org" References: <560677b5-53d7-145b-79ee-2c25b490842b@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 16 Apr 2019 17:14:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/16/19 4:22 PM, Julie Nishimura wrote: > Adrian, Hitwise is the name of our company. Unfortunately, it does not Aah that would explain it. > help to find how I can migrate missing search config or install whatever > is on 8.3. I did not restore the entire database (due to its large > size), I've dumped and restored just about 200 hundred tables they > needed on staging. Perhaps, some functions need to be migrated as well, > just do not know where to look... I would start by looking at the queries that where running slowly and see what they where calling. Also in the 8.3 database using psql: \df if you want more info: \df+ That will list the functions installed in the database. It will be a long list. You can reduce by using a pattern. For more info see: https://www.postgresql.org/docs/8.3/app-psql.html > > ------------------------------------------------------------------------ > *From:* Adrian Klaver > *Sent:* Tuesday, April 16, 2019 3:08 PM > *To:* Julie Nishimura; pgsql-general@lists.postgresql.org > *Subject:* Re: text search configuration missing while migration from > 8.3 to 9.4 > On 4/16/19 1:55 PM, Julie Nishimura wrote: >> Oh thank you for answering me!!! >> > >> >> Another thing: >> source (8.3): >> >> \dF >>                      List of text search configurations >>     Schema   |    Name    |                  Description >> ------------+------------+------------------------------------------------ >>   pg_catalog | danish     | configuration for danish language >>   pg_catalog | dutch      | configuration for dutch language >>   pg_catalog | english    | configuration for english language >>   pg_catalog | finnish    | configuration for finnish language >>   pg_catalog | french     | configuration for french language >>   pg_catalog | german     | configuration for german language >>   pg_catalog | hungarian  | configuration for hungarian language >>   pg_catalog | italian    | configuration for italian language >>   pg_catalog | norwegian  | configuration for norwegian language >>   pg_catalog | portuguese | configuration for portuguese language >>   pg_catalog | romanian   | configuration for romanian language >>   pg_catalog | russian    | configuration for russian language >>   pg_catalog | simple     | simple configuration >>   pg_catalog | spanish    | configuration for spanish language >>   pg_catalog | swedish    | configuration for swedish language >>   pg_catalog | turkish    | configuration for turkish language >>   public     | hw_english | Hitwise configuration for the English language >> (17 rows) >> > > > The only thing I can find searching that might be relevant is: > > https://en.wikipedia.org/wiki/Hitwise > > Does that ring any bells? > >> So, the last record "hw_english" does not show in the target. >> >> This is the parameter in postgresql file, same on both locations. >> # default configuration for text search >> default_text_search_config = 'pg_catalog.english' >> >> Unfortunately, I am not sure about tsearch2, it is new system that I >> inherited not too long ago. So, the production is still on 8.3, but >> dev/staging that was built recently, is on 9.4. The engineer who >> installed it said he used it from Puppet module for postgresql... He is >> not sure about tsearch2 module either. Do you know how can I find it? Or >> how can I install it? It seems like some gin indices are missing. I need >> to find out what is missing... >> >> THANK YOU for your help >> > > > -- > Adrian Klaver > adrian.klaver@aklaver.com -- Adrian Klaver adrian.klaver@aklaver.com