diff options
| author | Andres Freund <andres@anarazel.de> | 2016-10-12 18:31:45 -0700 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2016-10-12 18:31:45 -0700 |
| commit | ccbb852cd6101e93976111676a90f1e5d9268951 (patch) | |
| tree | a3d473c25715d1012161ea8ce0b554c6669bb3e8 /src/pl/plpython/sql/plpython_spi.sql | |
| parent | b4fc645787cc7c614c0c97fc9fffacf2bdc6a388 (diff) | |
| download | postgresql-ccbb852cd6101e93976111676a90f1e5d9268951.tar.gz | |
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.
Diffstat (limited to 'src/pl/plpython/sql/plpython_spi.sql')
| -rw-r--r-- | src/pl/plpython/sql/plpython_spi.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/sql/plpython_spi.sql b/src/pl/plpython/sql/plpython_spi.sql index 87170609da..7427de824b 100644 --- a/src/pl/plpython/sql/plpython_spi.sql +++ b/src/pl/plpython/sql/plpython_spi.sql @@ -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']) |
