| 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-21 15:38:48 |
| Message-ID: | 87h9nsejnb.fsf@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:
> Are you talking about getting data into the procedure, or out of it,
> or both?
[...]
(I reduce your email only to this question in order to be clearer; sorry
for this).
thanks for your answer.
To your questions: my setup is very easy and primitive:
1. postgres is in my laptop; I'm the only user and I will be the only
user of the system;
2. the script is also in my laptop;
3. the only thing which connects to the internet is the plpython I
wrote: it gets coordinates from Openstreetmap. The code I'm using is
the following: http://pastie.org/10366558
Then a trigger uses this code to insert the coordinates in a table.
Maybe I'm doing something wrong...
--
:: Igor Sosa Mayor :: joseleopoldo1792(at)gmail(dot)com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: ::
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Schaaf | 2015-08-21 18:16:52 | Problem with database connections timing out for long-running queries |
| Previous Message | Igor Sosa Mayor | 2015-08-21 15:28:02 | Re: Problem with pl/python procedure connecting to the internet |