summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2021-04-08 10:20:11 +0000
committerPeter Eisentraut2021-04-08 10:20:11 +0000
commit7e3c54168d9ec058cb3c9d47f8105b1d32dc8ceb (patch)
tree3ec3d1e31c047685a4a72489321eb6b3a91514e9 /src
parentaaf043257205ec523f1ba09a3856464d17cf2281 (diff)
Add ORDER BY to some regression test queries
Apparently, an unrelated patch introduced some variation on the build farm. Reported-by: Magnus Hagander <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/create_function_3.out9
-rw-r--r--src/test/regress/sql/create_function_3.sql9
2 files changed, 10 insertions, 8 deletions
diff --git a/src/test/regress/expected/create_function_3.out b/src/test/regress/expected/create_function_3.out
index 1fbaebcc728..477130e620e 100644
--- a/src/test/regress/expected/create_function_3.out
+++ b/src/test/regress/expected/create_function_3.out
@@ -474,26 +474,27 @@ CREATE FUNCTION functest_IS_7()
SELECT r0.routine_name, r1.routine_name
FROM information_schema.routine_routine_usage rru
JOIN information_schema.routines r0 ON r0.specific_name = rru.specific_name
- JOIN information_schema.routines r1 ON r1.specific_name = rru.routine_name;
+ JOIN information_schema.routines r1 ON r1.specific_name = rru.routine_name
+ ORDER BY 1, 2;
routine_name | routine_name
----------------+----------------
functest_is_4b | functest_is_4a
(1 row)
-SELECT routine_name, sequence_name FROM information_schema.routine_sequence_usage;
+SELECT routine_name, sequence_name FROM information_schema.routine_sequence_usage ORDER BY 1, 2;
routine_name | sequence_name
---------------+---------------
functest_is_5 | functest1
functest_is_6 | functest1
(2 rows)
-SELECT routine_name, table_name, column_name FROM information_schema.routine_column_usage;
+SELECT routine_name, table_name, column_name FROM information_schema.routine_column_usage ORDER BY 1, 2;
routine_name | table_name | column_name
---------------+------------+-------------
functest_is_7 | functest2 | a
(1 row)
-SELECT routine_name, table_name FROM information_schema.routine_table_usage;
+SELECT routine_name, table_name FROM information_schema.routine_table_usage ORDER BY 1, 2;
routine_name | table_name
---------------+------------
functest_is_7 | functest2
diff --git a/src/test/regress/sql/create_function_3.sql b/src/test/regress/sql/create_function_3.sql
index 695ee3413f4..3575ecc6932 100644
--- a/src/test/regress/sql/create_function_3.sql
+++ b/src/test/regress/sql/create_function_3.sql
@@ -276,10 +276,11 @@ CREATE FUNCTION functest_IS_7()
SELECT r0.routine_name, r1.routine_name
FROM information_schema.routine_routine_usage rru
JOIN information_schema.routines r0 ON r0.specific_name = rru.specific_name
- JOIN information_schema.routines r1 ON r1.specific_name = rru.routine_name;
-SELECT routine_name, sequence_name FROM information_schema.routine_sequence_usage;
-SELECT routine_name, table_name, column_name FROM information_schema.routine_column_usage;
-SELECT routine_name, table_name FROM information_schema.routine_table_usage;
+ JOIN information_schema.routines r1 ON r1.specific_name = rru.routine_name
+ ORDER BY 1, 2;
+SELECT routine_name, sequence_name FROM information_schema.routine_sequence_usage ORDER BY 1, 2;
+SELECT routine_name, table_name, column_name FROM information_schema.routine_column_usage ORDER BY 1, 2;
+SELECT routine_name, table_name FROM information_schema.routine_table_usage ORDER BY 1, 2;
DROP FUNCTION functest_IS_4a CASCADE;
DROP SEQUENCE functest1 CASCADE;