Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 769B54B856B for ; Wed, 11 Apr 2012 03:02:22 -0300 (ADT) Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHqdJ-0000MW-OR for pgsql-jdbc@postgresql.org; Wed, 11 Apr 2012 06:02:22 +0000 Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id q3B624907576 for ; Tue, 10 Apr 2012 23:02:04 -0700 Message-ID: <4F851E57.5060802@hogranch.com> Date: Tue, 10 Apr 2012 23:01:59 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: [HACKERS] Regarding GSoc Application References: <4f802005.cc76440a.668b.ffffcd8e@mx.google.com> <4F831234.7040209@dunslane.net> <4F8438AD.7060503@dunslane.net> <4F844089.2050308@dunslane.net> <4F84480F.1020905@dunslane.net> <9511.1334071505@sss.pgh.pa.us> <9745.1334072198@sss.pgh.pa.us> < CAHyXU0z93NV5Q=UeaeSLkYN272KDsVX0Wrd=VHLMJ_-qeGEvug@mail.gmail.com> <4f84fd5f.a93b440a.2eed.42c4@mx.google.com> <4 F8508C6.5090305@hogran ch.com> <4f850a5f.4537440a.3ae2.4930@mx.goog! le.com> <4F85183F.607 0806@hogranch.com> <4f851a34.c505440a.4905.4f24@mx.google.com> In-Reply-To: <4f851a34.c505440a.4905.4f24@mx.google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/59 X-Sequence-Number: 22859 On 04/10/12 10:44 PM, Atri Sharma wrote: > We plan to call SQL through SPI from the FDW,which in turn would call > > the Pl/Java routine. that seems overly complex. SPI is an internal mechanism used by C functions that are called from SQL why not just implement it as.... user application -> SQL -> PLjava FDW functions -> pljava code -> JDBC -> foreign database (and of course, back to return the data from said foreign database) this would look to the user very much like dblink looks now, and have similar security issues and mitigations. -- john r pierce N 37, W 122 santa cruz ca mid-left coast