On Mon, 2005-11-21 at 08:37 +0100, Tino Wildenhain wrote: > Am Montag, den 21.11.2005, 02:11 +0200 schrieb Hannu Krosing: > > Hi > > > > It seems that plpython is unable to return bytea string when it contains > > NUL bytes: > > ... > Did you also try: > > http://python.projects.postgresql.org/project/be.html > > ? Afaic it works a little different.
The project seems quite interesting, will surely take a deeper look It looks quite alpha, seems to mess to deeply with backend, and the cvs checkout of module be does not build, so I will probably not be able to use it in production for quite a while :( [EMAIL PROTECTED] be]$ python setup.py build running build running config Traceback (most recent call last): File "setup.py", line 256, in ? setup(defaults) File "setup.py", line 249, in setup d = distutils.core.setup(**kw) File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 193, in run self.run_command('config') File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 166, in run self.distribution.config = cfg = self.load() File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 129, in load cfgsrc(self) File "setup.py", line 19, in configure import postgresql.utility.config ImportError: No module named postgresql.utility.config ----------------- Hannu Krosing ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster