pgsql: Fix brown-paper-bag bug in commit0a459cec96d3856f476c2db298c6b5 - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix brown-paper-bag bug in commit0a459cec96d3856f476c2db298c6b5
Date
Msg-id E1epJh4-0002G9-OR@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow auto_explain.log_min_duration to go up to INT_MAX.
Next
From: Tom Lane
Date:
Subject: pgsql: First-draft release notes for 10.3.