From a3a8f237bdac86904053190d0f3b3c541e843456 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Jul 2008 18:45:05 +0000 Subject: Update 8.1 and 8.0 plpython to work with Python 2.5. This backports several fixes made during the 8.2 development cycle, but not backported at the time for lack of confidence in the new coding. I didn't touch 7.4 because it has more problems than this: the configure probe for Python fails. --- src/pl/plpython/sql/plpython_function.sql | 1 - 1 file changed, 1 deletion(-) (limited to 'src/pl/plpython/sql/plpython_function.sql') diff --git a/src/pl/plpython/sql/plpython_function.sql b/src/pl/plpython/sql/plpython_function.sql index e3ec2afe014..70e681d42c1 100644 --- a/src/pl/plpython/sql/plpython_function.sql +++ b/src/pl/plpython/sql/plpython_function.sql @@ -58,7 +58,6 @@ CREATE FUNCTION import_succeed() returns text import sha import string import time - import whrandom except Exception, ex: plpy.notice("import failed -- %s" % str(ex)) return "failed, that wasn''t supposed to happen" -- cgit v1.2.3