pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Cc: v.g.baranoff@gmail.com
Subject: Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery)
Date: Fri, 17 Aug 2018 16:44:46 +0100
Message-ID: <877ekp2e3g.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <14723.1534514356@sss.pgh.pa.us>
References: <153449812167.1304.1741624125628126322@wrigleys.postgresql.org>
	<87va892tf5.fsf@news-spur.riddles.org.uk>
	<87mutl2pv1.fsf@news-spur.riddles.org.uk>
	<87in492jrn.fsf@news-spur.riddles.org.uk>
	<14723.1534514356@sss.pgh.pa.us>

>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 >> It turns out to be also necessary to do this in ExecSetParamPlan,
 >> though I couldn't find a way to make a stable regression test for
 >> that - my manual tests were based on putting a subselect inside a
 >> volatile construct like CASE WHEN random() < x THEN.

 Tom> Looks sane to me ...

Pushed.

-- 
Andrew (irc:RhodiumToad)




view thread (8+ messages)

Message-ID: <877ekp2e3g.fsf@news-spur.riddles.org.uk>
Permalink:  ../877ekp2e3g.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/877ekp2e3g.fsf@news-spur.riddles.org.uk

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org, v.g.baranoff@gmail.com
  Subject: Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery)
  In-Reply-To: <877ekp2e3g.fsf@news-spur.riddles.org.uk>

* 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