Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4t2Z-0002HF-Ve for pgsql-committers@arkaria.postgresql.org; Sat, 07 Apr 2018 18:58:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f4t2Y-0005gH-Pr for pgsql-committers@arkaria.postgresql.org; Sat, 07 Apr 2018 18:58:18 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4t2W-0005g8-Rf for pgsql-committers@lists.postgresql.org; Sat, 07 Apr 2018 18:58:18 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4t2R-0005P9-Er for pgsql-committers@lists.postgresql.org; Sat, 07 Apr 2018 18:58:16 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 30F86206AC; Sat, 7 Apr 2018 14:58:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 07 Apr 2018 14:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=sSrYmk4rR92VDVM2GC4871/izoxhTkYzICQnjXRN+9M=; b=m8v38nCj Tw3WIwDjcqCjRoOKDcM18KE1SZgdEEoWvEpsLXcob7TNh5BFHXt30sLi7Q5CM+bC 7M65gUPYvpZe5hXST0z7qOcJ5+s+hXn05+M+TuDRmDUi8t04wXJ4ECVMTkICyFl8 BBF9roUZp1Y+mUpG/+Xmhiw634uOYTnwEIHiM12oyDOOir3uVsvbhpkLfQU5u6YR DvVtZdO9ezyGDkXMHNy0e3TGi3PK1w7l+w0UM8vZWD2uElqC7tDOXMW1vNlmvfQ/ XvQ9EAUT00YF04b7opXSnLiE5eq8qrcAErMocRG1ljXPtNsg2C26pRfcV+QRgIVb gtfaZ0MuX4tuCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=sSrYmk4rR92VDVM2GC4871/izoxhT kYzICQnjXRN+9M=; b=MUXR+Eu5i8xEiubT4Sfc6EFpLtRBhjrBLBvLHZ8NgMEWM 28I9kQRRQGM/Ak7sEpe+0PwN4N5nZugCRlwYQZaZPsO4+yZVWwBvHKW+aI/yTOS6 ReXi/BEVs9JvHJE3HtVuIhvlh++WlzipNJrL26LJOUkW9ayW+MfIHljzS7Wj2O8R BRCH4/0odaI5CoY/Kgnktfi+9ngRQoNs+HKUVzabM9CgLhI+C2p4e2yv2qvooEZA xzg3blTdeKsQFVFVnfSRgngsZ8ISpJ/5AetqGA8L7JcnIucUYsB9amCPoWkZ7TQ0 M7PVE3ThG7OrQxBeryaU5lHIs9hyLC0wqT2IHg+hQ== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id D93A610252; Sat, 7 Apr 2018 14:58:08 -0400 (EDT) Date: Sat, 7 Apr 2018 11:58:08 -0700 From: Andres Freund To: Teodor Sigaev Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add json(b)_to_tsvector function Message-ID: <20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de> References: <6aed7303-8bfd-b1a5-1ae9-50e78749178a@sigaev.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6aed7303-8bfd-b1a5-1ae9-50e78749178a@sigaev.ru> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-04-07 21:53:01 +0300, Teodor Sigaev wrote: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=desmoxytes&dt=2018-04-07 > 18%3A32%3A02 > > test select_parallel ... FAILED > > I don't understand how it's connected to json_to_tsquery. Can somebody point > me what I'm missing? Yea, I was confused as well. Given that it "only" failed during upgrade check, not the earlier parallel check, it is possible that it's entirely unrelated and just a low likelihood event? This however does clearly seem related: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=fulmar&dt=2018-04-07%2018%3A15%3A15 Probably caused by that animal using a non-standard collation? *** /var/buildfarm/fulmar/build/HEAD/pgsql.build/src/test/regress/expected/json.out Sat Apr 7 20:15:40 2018 --- /var/buildfarm/fulmar/build/HEAD/pgsql.build/src/test/regress/results/json.out Sat Apr 7 20:29:30 2018 *************** *** 2333,2353 **** -- json_to_tsvector select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"all"'); ! json_to_tsvector ! ---------------------------------------------------------------------------------------- ! '123':8 '456':12 'aaa':2 'b':6 'bbb':4 'c':10 'd':14 'f':18 'fals':20 'g':22 'true':16 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"key"'); ! json_to_tsvector ! -------------------------------- ! 'b':2 'c':4 'd':6 'f':8 'g':10 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"string"'); ! json_to_tsvector ! ------------------ ! 'aaa':1 'bbb':3 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"numeric"'); --- 2333,2353 ---- -- json_to_tsvector select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"all"'); ! json_to_tsvector ! ------------------------------------------------------------------------------------------------------ ! '123':9 '456':13 'a':1 'aaa':3 'b':7 'bbb':5 'c':11 'd':15 'f':19 'false':21 'g':23 'in':4 'true':17 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"key"'); ! json_to_tsvector ! -------------------------------------- ! 'a':1 'b':3 'c':5 'd':7 'f':9 'g':11 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"string"'); ! json_to_tsvector ! ------------------------ ! 'aaa':1 'bbb':3 'in':2 (1 row) select json_to_tsvector('{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"numeric"'); - Andres