pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b5
Date: Fri, 23 Feb 2018 20:11:46 +0000
Message-ID: <E1epJh4-0002G9-OR@gemulon.postgresql.org> (raw)

Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b52f592894e8.

RANGE_OFFSET comparisons need to examine the first ORDER BY column,
which isn't necessarily the first column in the incoming tuples.
No idea how this slipped through initial testing.

Per bug #15082 from Zhou Digoal.

Discussion: https://postgr.es/m/151939899974.1461.9411971793110285476@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9fe802c8185e9a53158b6797d0f6fd8bfbb01af1

Modified Files
--------------
src/backend/executor/nodeWindowAgg.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



Message-ID: <E1epJh4-0002G9-OR@gemulon.postgresql.org>
Permalink:  ../E1epJh4-0002G9-OR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1epJh4-0002G9-OR@gemulon.postgresql.org

 · 

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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b5
  In-Reply-To: <E1epJh4-0002G9-OR@gemulon.postgresql.org>
  References: <E1epJh4-0002G9-OR@gemulon.postgresql.org>

* 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