Re: stored function (possible to access file system or call java program)?

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: stored function (possible to access file system or call java program)?
Дата
Msg-id CAKt_ZfvutRLGzKgM94kGROHsLA57gCdnd3KDUST8VDrB8Fm7Ng@mail.gmail.com
обсуждение исходный текст
Ответ на stored function (possible to access file system or call java program)?  ("J.V." <jvsrvcs@gmail.com>)
Список pgsql-general
On Mon, Oct 3, 2011 at 2:05 PM, J.V. <jvsrvcs@gmail.com> wrote:
> Is it possible within a stored function to:
>    1) Access the file system (to rename a file for example)
>    2) Call a java program
>
For both of these:
1)  yes, if you use an untrusted program and
2)  These are dangerous because they are operations that exist outside
the transactional control of the RDBMS, so it's usually better to look
to other ways of doing this, like NOTIFY and LISTEN.....

Best Wishes,
Chris Travers

В списке pgsql-general по дате отправления:

Предыдущее
От: "J.V."
Дата:
Сообщение: stored function (possible to access file system or call java program)?
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: stored function (possible to access file system or call java program)?