From: silly sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: plperlu user function.
Date: Wed, 19 May 2010 09:38:00 +0400
Message-ID: <4BF37938.9050403@bankir.ru> (raw)
In-Reply-To: <4BF306C4.8050101@gmail.com>
References: <4BF306C4.8050101@gmail.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sad@bankir.ru
Subject: Re: plperlu user function.
In-Reply-To: <4BF37938.9050403@bankir.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox