diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2006-05-27 12:39:11 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2006-05-27 12:39:11 +0000 |
commit | 51b40f03a4001eaa0fe42df8f6567abe4bd32d21 (patch) | |
tree | e9d0e9fef8c401df955c0ec456bdf7b122978dc9 /src/pl/plpython/sql/plpython_function.sql | |
parent | 7a846ecc00b13a81adbf78b66dcf927077a802f8 (diff) |
Looks like the new plpython regression test fails on older pythons. See if this works.
Diffstat (limited to 'src/pl/plpython/sql/plpython_function.sql')
-rw-r--r-- | src/pl/plpython/sql/plpython_function.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pl/plpython/sql/plpython_function.sql b/src/pl/plpython/sql/plpython_function.sql index 73b1a654055..e31af9f9877 100644 --- a/src/pl/plpython/sql/plpython_function.sql +++ b/src/pl/plpython/sql/plpython_function.sql @@ -151,7 +151,9 @@ CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$ if TD.has_key('relid'): TD['relid'] = "bogus:12345" -for key in sorted(TD.keys()): +skeys = TD.keys() +skeys.sort() +for key in skeys: val = TD[key] plpy.notice("TD[" + key + "] => " + str(val)) |