plpython diff error.expected & errorr.output - Mailing list pgsql-general

From Tom Jenkins
Subject plpython diff error.expected & errorr.output
Date
Msg-id 1022870889.1973.62.camel@asimov
Whole thread Raw
List pgsql-general
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



pgsql-general by date:

Previous
From: Curt Sampson
Date:
Subject: Re: Row Limit on tables
Next
From: "Steve Wolfe"
Date:
Subject: Re: Row Limit on tables