plpython diff error.expected & errorr.output

From: Tom Jenkins <tjenkins(at)devis(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: plpython diff error.expected & errorr.output
Date: 2002-05-31 18:48:08
Message-ID: 1022870889.1973.62.camel@asimov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2002-05-31 18:57:16 Re: Row Limit on tables
Previous Message shey sewani 2002-05-31 18:26:02 Re: Row Limit on tables