pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add json(b)_to_tsvector function
Date: Sat, 7 Apr 2018 11:58:08 -0700
Message-ID: <20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de> (raw)
In-Reply-To: <6aed7303-8bfd-b1a5-1ae9-50e78749178a@sigaev.ru>
References: <E1f4s7L-0001yP-7l@gemulon.postgresql.org>
	<6aed7303-8bfd-b1a5-1ae9-50e78749178a@sigaev.ru>

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?

inline patch 1: /var/buildfarm/fulmar/build/HEAD/pgsql.build/src/test/regress/results/json.out (+9/-9 lines) download inline-1.patch*** /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

view thread (6+ messages)  latest in thread

Message-ID: <20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de>
Permalink:  ../20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, teodor@sigaev.ru
  Subject: Re: pgsql: Add json(b)_to_tsvector function
  In-Reply-To: <20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de>
  References: <E1f4s7L-0001yP-7l@gemulon.postgresql.org> <6aed7303-8bfd-b1a5-1ae9-50e78749178a@sigaev.ru> <20180407185807.ynk4eoyuf2qwhhvn@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox