From: Tomas Vondra Date: Thu, 19 Jan 2017 21:04:06 +0000 (+0100) Subject: make output of 'select' test suite stable by adding ORDER BY X-Git-Tag: XL_10_R1BETA1~438 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=df7c0674dfc2bb8488ca042f69ab13ba2952b414;p=postgres-xl.git make output of 'select' test suite stable by adding ORDER BY In XL the order of rows may change depending on timing of responses from remote nodes, unless the query has an explicit ORDER BY (on PostgreSQL the regression tests often rely on reading the data from disk in a single process). --- diff --git a/src/test/regress/expected/select.out b/src/test/regress/expected/select.out index 0eb8a2798c..d679fb3fe4 100644 --- a/src/test/regress/expected/select.out +++ b/src/test/regress/expected/select.out @@ -955,7 +955,7 @@ select * from (values (2),(null),(1)) v(k) where k = k order by k; 2 (2 rows) -select * from (values (2),(null),(1)) v(k) where k = k; +select * from (values (2),(null),(1)) v(k) where k = k order by k desc; k --- 2