From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Allow GiST distance function to return merely a lower-bound. |
Date: | 2015-05-15 12:17:47 |
Message-ID: | 5555E3EB.6010200@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On 05/15/2015 03:05 PM, Fujii Masao wrote:
> Seems this patch causes the regression test of pg_trgm fail.
> The regression diff that I got is:
>
> *** /home/postgres/pgsql/head/contrib/pg_trgm/expected/pg_trgm.out
> 2013-07-23 16:46:22.212488785 +0900
> --- /home/postgres/pgsql/head/contrib/pg_trgm/results/pg_trgm.out
> 2015-05-15 20:59:16.574926732 +0900
> ***************
> *** 2332,2343 ****
> (3 rows)
>
> select t <-> 'q0987wertyu0988', t from test_trgm order by t <->
> 'q0987wertyu0988' limit 2;
> ! ?column? | t
> ! ----------+-------------
> ! 0.411765 | qwertyu0988
> ! 0.5 | qwertyu0987
> ! (2 rows)
> !
> drop index trgm_idx;
> create index trgm_idx on test_trgm using gin (t gin_trgm_ops);
> set enable_seqscan=off;
> --- 2332,2338 ----
> (3 rows)
>
> select t <-> 'q0987wertyu0988', t from test_trgm order by t <->
> 'q0987wertyu0988' limit 2;
> ! ERROR: index returned tuples in wrong order
> drop index trgm_idx;
> create index trgm_idx on test_trgm using gin (t gin_trgm_ops);
> set enable_seqscan=off;
Hmm, OK. pg_trgm works for me, but I'll take a look. (rover_firefly also
went red, due to rounding differences in the regression test)
- Heikki
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2015-05-15 12:46:31 | pgsql: Support --verbose option in reindexdb. |
Previous Message | Fujii Masao | 2015-05-15 12:05:24 | Re: pgsql: Allow GiST distance function to return merely a lower-bound. |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2015-05-15 12:18:03 | Re: Support for N synchronous standby servers - take 2 |
Previous Message | Fujii Masao | 2015-05-15 12:05:24 | Re: pgsql: Allow GiST distance function to return merely a lower-bound. |