Re: plperlu user function.

Поиск
Список
Период
Сортировка
От silly sad
Тема Re: plperlu user function.
Дата
Msg-id 4BF37938.9050403@bankir.ru
обсуждение исходный текст
Ответ на plperlu user function.  (David Harel <hareldvd@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Brian Modra
Дата:
Сообщение: Re: How to get CURRENT_DATE in a pl/pgSQL function
Следующее
От: silly sad
Дата:
Сообщение: Re: How to get CURRENT_DATE in a pl/pgSQL function