Re: plperlu user function. - Mailing list pgsql-sql

From silly sad
Subject Re: plperlu user function.
Date
Msg-id 4BF37938.9050403@bankir.ru
Whole thread Raw
In response to plperlu user function.  (David Harel <hareldvd@gmail.com>)
List pgsql-sql
On 05/19/10 01:29, David Harel wrote:

> I am trying to write a user function on the server to retrive image
> files. Currently I wrote the following:

> my $tmpfile = shift;
> open my $IFHAND, '<', $tmpfile

> Any recommendation how to do it right?

first of all, stop opening files at all,
return to a client a pathname,
then give to Caesar what is Caesar's, and to God what is God's.



pgsql-sql by date:

Previous
From: Brian Modra
Date:
Subject: Re: How to get CURRENT_DATE in a pl/pgSQL function
Next
From: silly sad
Date:
Subject: Re: How to get CURRENT_DATE in a pl/pgSQL function