Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 45DA2F7658 for ; Wed, 11 Apr 2012 03:21:35 -0300 (ADT) Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHqvu-0000jP-DM for pgsql-jdbc@postgresql.org; Wed, 11 Apr 2012 06:21:34 +0000 Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id q3B6LC907715 for ; Tue, 10 Apr 2012 23:21:12 -0700 Message-ID: <4F8522D3.9060806@hogranch.com> Date: Tue, 10 Apr 2012 23:21:07 -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> <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> <4F851E57.5060802@hogranch.com> <4f85201e.e62a440a.3399.5b3f@mx.google.com> In-Reply-To: <4f85201e.e62a440a.3399.5b3f@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/62 X-Sequence-Number: 22862 On 04/10/12 11:09 PM, Atri Sharma wrote: >> 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) >> > > Hi John, > > Hmm.That sounds good,but where does the FDW come in?Will the user > application interact with the FDW,and FDW handle the SQL calls and > everything else from there i.e. FDW wraps the entire process,right? see dblink ofr an example API http://www.postgresql.org/docs/current/static/dblink.html the 'pljava fdw functions' are the publicly visible pljava functions implementing your api... while my 'pljava code' are additional functions/methods you use internally that aren't visible externally -- john r pierce N 37, W 122 santa cruz ca mid-left coast