Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brIQr-00023x-Iq for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Oct 2016 05:38:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1brIQq-0005IZ-Ca for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Oct 2016 05:38:24 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brIQC-0004az-A8 for pgsql-bugs@postgresql.org; Tue, 04 Oct 2016 05:37:44 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brIQ4-0006RG-TO for pgsql-bugs@postgresql.org; Tue, 04 Oct 2016 05:37:43 +0000 Received: from asus-laptop-03-gunduz-org (unknown [176.55.54.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id EEF353FD51; Tue, 4 Oct 2016 05:37:34 +0000 (UTC) Message-ID: <1475559450.7078.24.camel@gunduz.org> Subject: Re: Sudden FTS-related error from parallel worker in 9.6 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Nikolay Samokhvalov Cc: PostgreSQL mailing lists Date: Tue, 04 Oct 2016 08:37:30 +0300 In-Reply-To: References: <1475557075.7078.1.camel@gunduz.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-t5m8BbgW9tICUYqG2eqg" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --=-t5m8BbgW9tICUYqG2eqg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, 2016-10-04 at 08:13 +0300, Nikolay Samokhvalov wrote: > No. It's valid for my instance. > I have manually created configuration called 'ru'. But not in the databas= es > 'test'. I am not 100% familiar with this, but IIRC you need to create this in that database, too. I first created the tables as you did, and then: postgres=3D# SELECT version(); version = =20 ---------------------------------------------------------------------------= ------------------------------ PostgreSQL 9.6.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 6.2.1 20160= 916 (Red Hat 6.2.1-2), 64-bit (1 row) postgres=3D# CREATE TEXT SEARCH CONFIGURATION ru (COPY=3Drussian); CREATE TEXT SEARCH CONFIGURATION postgres=3D# EXPLAIN ANALYZE SELECT min(ts) FROM test; QUERY PLAN = =20 ---------------------------------------------------------------------------= -------------------------------------- Aggregate (cost=3D2266.00..2266.01 rows=3D1 width=3D8) (actual time=3D15.= 740..15.740 rows=3D1 loops=3D1) -> Seq Scan on test (cost=3D0.00..2016.00 rows=3D100000 width=3D8) (ac= tual time=3D0.006..8.032 rows=3D100000 loops=3D1) Planning time: 0.212 ms Execution time: 15.782 ms (4 rows) postgres=3D# SET default_text_search_config TO ru; SET postgres=3D# EXPLAIN ANALYZE SELECT min(ts) FROM test; QUERY PLAN = =20 ---------------------------------------------------------------------------= -------------------------------------- Aggregate (cost=3D2266.00..2266.01 rows=3D1 width=3D8) (actual time=3D13.= 292..13.293 rows=3D1 loops=3D1) -> Seq Scan on test (cost=3D0.00..2016.00 rows=3D100000 width=3D8) (ac= tual time=3D0.009..6.572 rows=3D100000 loops=3D1) Planning time: 0.069 ms Execution time: 13.317 ms (4 rows) postgres=3D# SET max_parallel_workers_per_gather TO 8; SET postgres=3D# EXPLAIN ANALYZE SELECT min(ts) FROM test; QUERY PLAN = =20 ---------------------------------------------------------------------------= -------------------------------------- Aggregate (cost=3D2266.00..2266.01 rows=3D1 width=3D8) (actual time=3D13.= 701..13.701 rows=3D1 loops=3D1) -> Seq Scan on test (cost=3D0.00..2016.00 rows=3D100000 width=3D8) (ac= tual time=3D0.009..6.882 rows=3D100000 loops=3D1) Planning time: 0.063 ms Execution time: 13.722 ms (4 rows) postgres=3D# \c test You are now connected to database "test" as user "postgres". test=3D# SET default_text_search_config TO ru; ERROR: invalid value for parameter "default_text_search_config": "ru" -HTH --=20 Devrim G=C3=9CND=C3=9CZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-t5m8BbgW9tICUYqG2eqg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJX80AaAAoJENjDPf6Sz261Ef0P/2ofCNWi/a+X0lPUrqZ7WZDo q2YOBXaKAgfmrrXUI2qTUfutJV9enaj24EBV3uuS/5qN7fQt9jbOUFuZ2yX+AaZ6 DYrTI27m/orEfEp/sqBBMIs5LP/0HVoheucGj2oEyXnpEFUYSex8gL+BRD4E6x80 SU3J9bhB4VV8mHeImP4u17ZGz0VxqRyWtCuBLYkdl2gzu6WAc5Psac2gHw+CvlKf ODx0Vo2c+Yut5s8AK7HLattK7tQm2/+jNi+kqxReciPvNyEybeijMXObfV7Xng3k 1o/JKDR8CbEpT0yTjEnALLF6fKI2h7ZVv7jbSTn2LTvSW3ucX6HVLWTLW+7ZC1pE c+rMmlwRewl/t6sSjWQZeovnVRFF37etrZEv9mHg1r/KgmenMRDP+JdNuGVoXkGZ GiBVgATY0Lo6qFj3pDZx8CKaXmdoG1uwWI8NoSh3uJPt9kYFp5hf7x3BA832UUBH wSv4tugqx1x4Wu0Lu+8MVlmZvHUImYWsDJbMbt9/tjpiH8tTYuMKgWkQ1gpCyCSq ctnzw0JgNmU9L531eOSH92IvBP9ArFBfij6jE8eGxD5zJPU8YEQ1RBTwxIvPPDR5 2e0To01I2/7De4UnaPV5xM4WvxNvDu4ry4GnFez0LVSHUFwKGQbMyPG+oULp/ASP gxVtmGfVTscmauCELEG8 =4Irc -----END PGP SIGNATURE----- --=-t5m8BbgW9tICUYqG2eqg--