pgsql: Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b5
Date: 2018-02-23 20:11:46
Message-ID: E1epJh4-0002G9-OR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-02-23 22:20:32 pgsql: First-draft release notes for 10.3.
Previous Message Tom Lane 2018-02-23 19:39:42 pgsql: Allow auto_explain.log_min_duration to go up to INT_MAX.