| From: | Wolfgang Rohdewald <wolfgang(at)rohdewald(dot)de> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | 'import site' failed; use -v for traceback |
| Date: | 2003-12-04 00:12:24 |
| Message-ID: | 200312040112.24739.wolfgang@rohdewald.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
this appears in /var/log/postgresql/postgres.log
whenever I execute a python function, even if
the execution succeeds like in
create function myfunc(text) RETURNS text AS
'return ''abc''' LANGUAGE 'plpython';
when using python directly the module is correctly imported:
/var/log/postgresql# python
Python 2.3.3a0 (#2, Nov 20 2003, 07:51:52)
[GCC 3.3.2 (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
>>> print site
<module 'site' from '/usr/lib/python2.3/site.pyc'>
Where should I report bugs? http://techdocs.postgresql.org/#bugs
was last updated in August 2002, and that was all I could find.
--
Wolfgang
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Josh Berkus | 2003-12-04 16:08:08 | Re: comparring dates between perl and postgres |
| Previous Message | Wolfgang Rohdewald | 2003-12-04 00:06:27 | Re: multiline PL/Python function fails in *.sql |