Re: [HACKERS] Regarding GSoc Application

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Regarding GSoc Application
Дата
Msg-id 9745.1334072198@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Regarding GSoc Application  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: [HACKERS] Regarding GSoc Application  (Andrew Dunstan <andrew@dunslane.net>)
Re: [HACKERS] Regarding GSoc Application  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-jdbc
Atri Sharma <atri.jiit@gmail.com> writes:
> On Tue, Apr 10, 2012 at 8:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hm?  SPI doesn't know anything about Java either.

> We plan to call SQL through SPI from the FDW,which in turn would call
> the Pl/Java routine.

If you're saying that every Java function that the FDW needs would have
to be exposed as a SQL function, that seems like a pretty high-risk
(not to mention low performance) approach.  Not only do you have to
design a SQL representation for every datatype you need, but you have to
be sure that you do not have any security holes arising from
unscrupulous users calling those SQL functions manually with arguments
of their choosing.

            regards, tom lane

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

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: [HACKERS] Regarding GSoc Application
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Regarding GSoc Application