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.


--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to