I'd be surprised to find out that plpgsql could do this natively - it's
not a database function you're trying to perform. Try using wget or
curl to obtain the file in a shell script, then run your plpgsql to
slurp in the **local** file.
Rgds,
Bret
> -----Original Message-----
> From: pgsql-novice-owner@postgresql.org
> [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Dario Billo
> Sent: Tuesday, March 15, 2005 4:31 PM
> To: pgsql-novice@postgresql.org
> Subject: [NOVICE] fetching text file from internet
>
> Hi to all. I need download text file from internet, and I'll
> use plpgsql, but I don't know if this language can do this. Ideas?
> Where I can find documentation more precisely than postgresql manual?
>
> Thank you, hi
>
> Billo Dario
> rodario@libero.it
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so
> that your
> message can get through to the mailing list cleanly
>