From: Tomas Vondra Date: Sun, 23 Apr 2017 22:45:30 +0000 (+0200) Subject: Accept plan changes due to showing 'Sort Key' for Remote Subquery X-Git-Tag: XL_10_R1BETA1~347 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3bdeed6ca14aa42de1624d20cf83416027765962;p=postgres-xl.git Accept plan changes due to showing 'Sort Key' for Remote Subquery Commit 80bd858ca4b added Sort Key into EXPLAIN output for remote queries with merging sorted data from remote nodes. Accept trivial plan changes caused by this. --- diff --git a/src/test/regress/expected/xc_having.out b/src/test/regress/expected/xc_having.out index 44924c0177..1de1cf4b6a 100644 --- a/src/test/regress/expected/xc_having.out +++ b/src/test/regress/expected/xc_having.out @@ -116,6 +116,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Remote Subquery Scan on all Output: count(*), sum((xc_having_tab1.val * xc_having_tab2.val)), avg((xc_having_tab1.val * xc_having_tab2.val)), ((sum((xc_having_tab1.val * xc_having_tab2.val)))::double precision / (count(*))::double precision), xc_having_tab1.val2, xc_having_tab2.val2 + Sort Key: xc_having_tab1.val2 -> GroupAggregate Output: count(*), sum((xc_having_tab1.val * xc_having_tab2.val)), avg((xc_having_tab1.val * xc_having_tab2.val)), ((sum((xc_having_tab1.val * xc_having_tab2.val)))::double precision / (count(*))::double precision), xc_having_tab1.val2, xc_having_tab2.val2 Group Key: xc_having_tab1.val2, xc_having_tab2.val2 @@ -126,6 +127,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ -> Remote Subquery Scan on all Output: xc_having_tab1.val, xc_having_tab1.val2 Distribute results by H: val2 + Sort Key: xc_having_tab1.val2 -> Sort Output: xc_having_tab1.val, xc_having_tab1.val2 Sort Key: xc_having_tab1.val2 @@ -136,6 +138,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ -> Remote Subquery Scan on all Output: xc_having_tab2.val, xc_having_tab2.val2 Distribute results by H: val2 + Sort Key: xc_having_tab2.val2 -> Sort Output: xc_having_tab2.val, xc_having_tab2.val2 Sort Key: xc_having_tab2.val2 @@ -528,6 +531,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Remote Subquery Scan on all Output: count(*), sum((xc_having_tab1.val * xc_having_tab2.val)), avg((xc_having_tab1.val * xc_having_tab2.val)), ((sum((xc_having_tab1.val * xc_having_tab2.val)))::double precision / (count(*))::double precision), xc_having_tab1.val2, xc_having_tab2.val2 + Sort Key: xc_having_tab1.val2 -> GroupAggregate Output: count(*), sum((xc_having_tab1.val * xc_having_tab2.val)), avg((xc_having_tab1.val * xc_having_tab2.val)), ((sum((xc_having_tab1.val * xc_having_tab2.val)))::double precision / (count(*))::double precision), xc_having_tab1.val2, xc_having_tab2.val2 Group Key: xc_having_tab1.val2, xc_having_tab2.val2 @@ -538,6 +542,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ -> Remote Subquery Scan on all Output: xc_having_tab1.val, xc_having_tab1.val2 Distribute results by H: val2 + Sort Key: xc_having_tab1.val2 -> Sort Output: xc_having_tab1.val, xc_having_tab1.val2 Sort Key: xc_having_tab1.val2 @@ -548,6 +553,7 @@ explain (verbose true, costs false, nodes false) select count(*), sum(xc_having_ -> Remote Subquery Scan on all Output: xc_having_tab2.val, xc_having_tab2.val2 Distribute results by H: val2 + Sort Key: xc_having_tab2.val2 -> Sort Output: xc_having_tab2.val, xc_having_tab2.val2 Sort Key: xc_having_tab2.val2