Re: Problem with pl/python procedure connecting to the internet

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Sosa Mayor <joseleopoldo1792(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pl/python procedure connecting to the internet
Date: 2015-08-23 17:17:03
Message-ID: 55DA000F.40505@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/23/2015 09:53 AM, Igor Sosa Mayor wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> 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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-08-23 17:24:43 Re: Problem with pl/python procedure connecting to the internet
Previous Message Adrian Klaver 2015-08-23 17:15:25 Re: Problem with pl/python procedure connecting to the internet