fix ordering of results in the select_implicit regression test
authorTomas Vondra <[email protected]>
Sun, 29 Jan 2017 13:17:12 +0000 (14:17 +0100)
committerTomas Vondra <[email protected]>
Sun, 29 Jan 2017 13:17:12 +0000 (14:17 +0100)
A simple case of expected output not matching the ORDER BY.

src/test/regress/expected/select_implicit_2.out

index 91c3a24f92aa3cbb06cf7ff2d33ac8ecbc0d432b..53b8b2259d99d90e87cf5cb4e2f40e1f3e9d1787 100644 (file)
@@ -206,7 +206,7 @@ SELECT count(*) INTO TABLE test_missing_target2
 FROM test_missing_target x, test_missing_target y
        WHERE x.a = y.a
        GROUP BY x.b ORDER BY x.b;
-SELECT * FROM test_missing_target2;
+SELECT * FROM test_missing_target2 ORDER BY 1;
  count 
 -------
      1
@@ -322,12 +322,12 @@ SELECT count(x.b) INTO TABLE test_missing_target3
 FROM test_missing_target x, test_missing_target y
        WHERE x.a = y.a
        GROUP BY x.b/2 ORDER BY x.b/2;
-SELECT * FROM test_missing_target3;
+SELECT * FROM test_missing_target3 ORDER BY 1;
  count 
 -------
      1
-     5
      4
+     5
 (3 rows)
 
 --   Cleanup