i compiled 7.2.1 with python support. I ran make on src/pl/plpython.
then ran make installcheck. all the features passed but i got some
non-OID errors in error.diff. I think the error.expected file hasn't
been updated for the new tests. Is that correct?
error.expected
======================
SELECT getpid();
ERROR: plpython: Call of function `__plpython_procedure_getpid_49811' failed.
exceptions.AttributeError: getpid
SELECT uname();
ERROR: plpython: Call of function `__plpython_procedure_uname_49812' failed.
exceptions.AttributeError: uname
SELECT sys_exit();
ERROR: plpython: Call of function `__plpython_procedure_sys_exit_49813' failed.
exceptions.AttributeError: exit
error.output:
======================
SELECT getpid();
ERROR: plpython: Call of function `__plpython_procedure_getpid_642297'
failed.
exceptions.AttributeError: 'os' module has no attribute 'getpid'
SELECT uname();
ERROR: plpython: Call of function `__plpython_procedure_uname_642298'
failed.
exceptions.AttributeError: 'os' module has no attribute 'uname'
SELECT sys_exit();
ERROR: plpython: Call of function
`__plpython_procedure_sys_exit_642299' failed.
exceptions.AttributeError: 'sys' module has no attribute 'exit'
--
Tom Jenkins
Development InfoStructure
http://www.devis.com