mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Fix further hash table order dependent tests.
Similar to 0137caf273
, this makes contrib and pl tests less dependant on
hash-table order. After this commit, at least some order affecting
changes to execGrouping.c don't result in regression test changes
anymore.
This commit is contained in:
@ -220,8 +220,8 @@ SELECT result_len_test($$UPDATE foo3 SET b= '' WHERE a = 2$$);
|
||||
|
||||
CREATE FUNCTION result_subscript_test() RETURNS void
|
||||
AS $$
|
||||
result = plpy.execute("SELECT 1 AS c UNION SELECT 2 "
|
||||
"UNION SELECT 3 UNION SELECT 4")
|
||||
result = plpy.execute("SELECT 1 AS c UNION ALL SELECT 2 "
|
||||
"UNION ALL SELECT 3 UNION ALL SELECT 4")
|
||||
|
||||
plpy.info(result[1]['c'])
|
||||
plpy.info(result[-1]['c'])
|
||||
|
@ -135,8 +135,8 @@ SELECT result_len_test($$UPDATE foo3 SET b= '' WHERE a = 2$$);
|
||||
|
||||
CREATE FUNCTION result_subscript_test() RETURNS void
|
||||
AS $$
|
||||
result = plpy.execute("SELECT 1 AS c UNION SELECT 2 "
|
||||
"UNION SELECT 3 UNION SELECT 4")
|
||||
result = plpy.execute("SELECT 1 AS c UNION ALL SELECT 2 "
|
||||
"UNION ALL SELECT 3 UNION ALL SELECT 4")
|
||||
|
||||
plpy.info(result[1]['c'])
|
||||
plpy.info(result[-1]['c'])
|
||||
|
Reference in New Issue
Block a user