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

From: Igor Sosa Mayor <joseleopoldo1792(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pl/python procedure connecting to the internet
Date: 2015-08-23 17:38:38
Message-ID: 871tetdhwh.fsf@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:

>> I tried both... in my system (archlinux) there is plpython2u and
>> plpythonu. I think the 2nd one is python3.
>
> How did they get there?
>
> Or more to the point how where they built?

just installed with postgresql which comes with archlinux. I did not
built anything. But, really: I dont think the problem is plpython2u o 3:
1. I have in my system both and both have the same libraries (in this
case, geopy);
2. other procedures with plpython (2 or 3) which DO NOT CONNECT to the
internet work perfectly.

The problem is the connection, either the setup in my laptop or the
setup in my network (but I get the same problem at home and at work...)

> What happens if you change your geocodificar to use plpythonu?

exactly the same. I tested all combinations...

(thanks again!)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Sosa Mayor 2015-08-23 17:39:51 Re: Problem with pl/python procedure connecting to the internet
Previous Message s d 2015-08-23 17:31:27 Re: Problem with pl/python procedure connecting to the internet