diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-28 18:45:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-28 18:45:05 +0000 |
commit | a3a8f237bdac86904053190d0f3b3c541e843456 (patch) | |
tree | eef8a8a8f4be1cd49163d13a0e5abd11850c3ddf /src/pl/plpython/sql/plpython_function.sql | |
parent | 23811025a0dbd9cba576a54fb9172bbffa8b0049 (diff) |
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.
Diffstat (limited to 'src/pl/plpython/sql/plpython_function.sql')
-rw-r--r-- | src/pl/plpython/sql/plpython_function.sql | 1 |
1 files changed, 0 insertions, 1 deletions
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" |