plpythonu and return void

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: plpythonu and return void
Date: 2005-08-09 02:39:07
Message-ID: 200508081939.07916.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I recently migrated a database from Postgres 7.4.1 to Postgres 8.03. The only
problem I have run into is that a plpythonu function that returns void will
not run under 8.03. The error message states that a plpython function cannot
return void. I got around it by having it return text and not actually
returning anything. I have searched for an explanation and can't seem to
locate one. Obviously I have missed something I just don't know what? Any
suggestions would be appreciated.
--
Adrian Klaver
aklaver(at)comcast(dot)net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-08-09 03:02:17 Re: plpythonu and return void
Previous Message Yudie Pg 2005-08-08 22:57:44 Re: How to join function with a table?