pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <a.korotkov@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Erik Rijkers <er@xs4all.nl>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Improve handling of NULLs in KNN-GiST and KNN-SP-GiST
Date: Thu, 19 Sep 2019 23:43:56 +0300
Message-ID: <CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com> (raw)
In-Reply-To: <CAPpHfdu+ZSp2rB0KOKYb971sfjGgOs20ACmna0ZMb4EiU=woTg@mail.gmail.com>
References: <E1iB1pb-00075a-Dx@gemulon.postgresql.org>
	<6d51305e1159241cabee132f7efc7eff@xs4all.nl>
	<2608.1568924017@sss.pgh.pa.us>
	<CAPpHfdu+ZSp2rB0KOKYb971sfjGgOs20ACmna0ZMb4EiU=woTg@mail.gmail.com>

On Thu, Sep 19, 2019 at 11:31 PM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
>
> On Thu, Sep 19, 2019 at 11:13 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>
>> Erik Rijkers <er@xs4all.nl> writes:
>> > Oops:
>> >       create_index                 ... ok          634 ms
>> >       create_index_spgist          ... FAILED      438 ms
>> >       create_view                  ... ok          329 ms
>>
>> I'm betting the issue is breaking the Datum abstraction here:
>>
>> -                   scan->xs_orderbyvals[i] = Float8GetDatum(distanceValues[i]);
>> +                   scan->xs_orderbyvals[i] = item->distances[i].value;
>
>
> Overseen by me.  Will fix immediately.


Fix pushed from 11 to 9.5, where I made this error during backpatching.

However, I also see set of failures in master, which seems related to
this patch:
 * https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dromedary&dt=2019-09-19%2020%3A09%3A42
 * https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2019-09-19%2020%3A04%3A22
 * https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tern&dt=2019-09-19%2019%3A22%3A01

Will investigate them.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company





view thread (14+ messages)  latest in thread

Message-ID: <CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com>
Permalink:  ../CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com

 · 

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: a.korotkov@postgrespro.ru, tgl@sss.pgh.pa.us, er@xs4all.nl, akorotkov@postgresql.org
  Subject: Re: pgsql: Improve handling of NULLs in KNN-GiST and KNN-SP-GiST
  In-Reply-To: <CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com>
  References: <E1iB1pb-00075a-Dx@gemulon.postgresql.org> <6d51305e1159241cabee132f7efc7eff@xs4all.nl> <2608.1568924017@sss.pgh.pa.us> <CAPpHfdu+ZSp2rB0KOKYb971sfjGgOs20ACmna0ZMb4EiU=woTg@mail.gmail.com> <CAPpHfduVKNxSmJ8Udgrcq+O5yDf8TCm--gdF52EXN-EZGvoBoQ@mail.gmail.com>

* 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