pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: lr@pcorp.us
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #13349: Recheck logic with index mixed up when used with LATERAL
Date: Mon, 25 May 2015 14:55:09 +0300
Message-ID: <55630D9D.3090508@iki.fi> (raw)
In-Reply-To: <20150525052538.4705.92464@wrigleys.postgresql.org>
References: <20150525052538.4705.92464@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 05/25/2015 08:25 AM, lr@pcorp.us wrote:
> The following bug has been logged on the website:
>
> Bug reference:      13349
> Logged by:          Regina Obe
> Email address:      lr@pcorp.us
> PostgreSQL version: Unsupported/Unknown
> Operating system:   Debian, Mingw-64 Postgresql 9.5 Recheck logic
> Description:
>
> We are finding issues in our PostGIS KNN distance recheck, and think the
> issue is with PostgreSQL since we can replicate with PostgreSQL built-in
> geometry types
>
> This issue only seems to happen if the LATERAL clause works against multiple
> records.

Thanks, fixed! I forgot to reset the new "reached end" flag when the 
node is rescanned.

- Heikki



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <55630D9D.3090508@iki.fi>
Permalink:  ../55630D9D.3090508@iki.fi/
Also on:    postgresql.org/message-id/55630D9D.3090508@iki.fi

 · 

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-bugs@postgresql.org
  Cc: hlinnaka@iki.fi, lr@pcorp.us
  Subject: Re: BUG #13349: Recheck logic with index mixed up when used with LATERAL
  In-Reply-To: <55630D9D.3090508@iki.fi>
  References: <20150525052538.4705.92464@wrigleys.postgresql.org> <55630D9D.3090508@iki.fi>

* 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