From: | Gerhard Pfeiffer <gp(at)sun(dot)bnbt(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | pl/python, plpy and nrows() |
Date: | 2001-10-22 20:34:19 |
Message-ID: | Pine.GSO.4.05.10110222229170.18428-100000@sun.bnbt.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hallo,
I do
res = plpy.execute("select * from koordinaten")
print("res: "+repr(res))
print("res.nrows(): "+repr(res.nrows()))
and on the stdout of the postmaster-process I get:
res: <PLyResult object at 0x8767350>
ERROR: plpython: Call of function `__plpython_procedure_sms_46221'
failed.
exceptions.SystemError: error return without exception set
It seems, that it just stops execution, when I call nrows().
What can I do about it?
Ciao,
Gerhard
From | Date | Subject | |
---|---|---|---|
Next Message | Keary Suska | 2001-10-22 20:53:37 | Referential Integrity Violation not triggered |
Previous Message | Dave Cramer | 2001-10-22 20:18:50 | Re: How to insert with a serial |