Re: plperlu user function.

From: silly sad <sad(at)bankir(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: plperlu user function.
Date: 2010-05-19 05:38:00
Message-ID: 4BF37938.9050403@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message silly sad 2010-05-19 08:26:07 Re: How to get CURRENT_DATE in a pl/pgSQL function
Previous Message Brian Modra 2010-05-19 03:48:33 Re: How to get CURRENT_DATE in a pl/pgSQL function