]> granicus.if.org Git - postgresql/commit
Fix brown-paper-bag bug in commit 0a459cec96d3856f476c2db298c6b52f592894e8.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Feb 2018 20:11:40 +0000 (15:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Feb 2018 20:11:40 +0000 (15:11 -0500)
commit9fe802c8185e9a53158b6797d0f6fd8bfbb01af1
tree493273a7076eb287b6b00803346f93e47a3a7e55
parent8af87f411c151537b6e3315c2a191110c3fec494
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
src/backend/executor/nodeWindowAgg.c