On 08/23/2015 09:53 AM, Igor Sosa Mayor wrote:
Adrian Klaver <adrian.klaver@xxxxxxxxxxx> writes:
What happens if you run the function below directly in psql and not
through the trigger?
exactly the same error.
Do you have both Python 2 and Python 3 on this machine?
I have both.
Did you create both the 2u and 3u variants of plpythonu?
I tried both... in my system (archlinux) there is plpython2u and
plpythonu. I think the 2nd one is python3.
Meant to add:
What is the default system Python?
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general