Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery) - Mailing list pgsql-bugs

From Andrew Gierth
Subject Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery)
Date
Msg-id 87mutl2pv1.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery)  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: BUG #15336: Wrong cursor's bacward fetch results in select with ALL(subquery)
List pgsql-bugs
>>>>> "Andrew" == Andrew Gierth <andrew@tao11.riddles.org.uk> writes:

 Andrew> I'm really not sure yet what the correct fix is, though.

I'm guessing that locally saving/restoring the scan direction in
ExecSubPlan is going to be the best option; it seems to fix the problem,
I'll post a patch in a bit.

-- 
Andrew (irc:RhodiumToad)


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15337: partition modify bug? cann't sync relcache in the samesession immediate?
Next
From: Amit Langote
Date:
Subject: Re: BUG #15334: Partition elimination not working as expected whenusing enum as partition key