mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:21:25 +02:00
Looks like the new plpython regression test fails on older pythons. See if this works.
This commit is contained in:
parent
7a846ecc00
commit
51b40f03a4
@ -123,7 +123,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))
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user