pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: [HACKERS] Regarding GSoc Application
Date: Tue, 10 Apr 2012 23:21:07 -0700
Message-ID: <4F8522D3.9060806@hogranch.com> (raw)
In-Reply-To: <4f85201e.e62a440a.3399.5b3f@mx.google.com>
References: <4f802005.cc76440a.668b.ffffcd8e@mx.google.com>
	<CAOeZVieUiksGhFFGK_HYdZhCEH13Q7OpOJ0o2Wph-XUbkQYm2w@mail.gmail.com>
	<4F8438AD.7060503@dunslane.net>
	<CAHyXU0wUFK_bO48B0eOzUa_434PRf6qmj4=0mWG0SXNJ1KuitA@mail.gmail.com>
	<4F844089.2050308@dunslane.net>
	<CAHyXU0zAZNiWdWCfaFc==O+5Z9ccDSxwu5WOG4ds4ZQBgyqNOw@mail.gmail.com>
	<4F84480F.1020905@dunslane.net>
	<CAHyXU0wUg1TLdyMm0PzQwgYb6iRyCP4+YkqqaxWGUNUZLsj_PA@mail.gmail.com>
	<9511.1334071505@sss.pgh.pa.us>
	<CAOeZVicsfHexSnqQX_ZuFqhgcChzkViKTsNiOjMKOg9qUyRGDg@mail.gmail.com>
	<9745.1334072198@sss.pgh.pa.us>
	<CAHyXU0zKvvviUPr=xn-XJHdWVOEEBVoUDEDagdh5kseefD E1iw@mail.gmail.com>
	< 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>

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




view thread (43+ messages)  latest in thread

Message-ID: <4F8522D3.9060806@hogranch.com>
Permalink:  ../4F8522D3.9060806@hogranch.com/
Also on:    postgresql.org/message-id/4F8522D3.9060806@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: [HACKERS] Regarding GSoc Application
  In-Reply-To: <4F8522D3.9060806@hogranch.com>
  References: <4f802005.cc76440a.668b.ffffcd8e@mx.google.com> <CAOeZVieUiksGhFFGK_HYdZhCEH13Q7OpOJ0o2Wph-XUbkQYm2w@mail.gmail.com> <4F8438AD.7060503@dunslane.net> <CAHyXU0wUFK_bO48B0eOzUa_434PRf6qmj4=0mWG0SXNJ1KuitA@mail.gmail.com> <4F844089.2050308@dunslane.net> <CAHyXU0zAZNiWdWCfaFc==O+5Z9ccDSxwu5WOG4ds4ZQBgyqNOw@mail.gmail.com> <4F84480F.1020905@dunslane.net> <CAHyXU0wUg1TLdyMm0PzQwgYb6iRyCP4+YkqqaxWGUNUZLsj_PA@mail.gmail.com> <9511.1334071505@sss.pgh.pa.us> <CAOeZVicsfHexSnqQX_ZuFqhgcChzkViKTsNiOjMKOg9qUyRGDg@mail.gmail.com> <9745.1334072198@sss.pgh.pa.us> <4f84fd5f.a93b440a.2eed.42c4@mx.google.com> <4f851a34.c505440a.4905.4f24@mx.google.com> <4F851E57.5060802@hogranch.com> <4f85201e.e62a440a.3399.5b3f@mx.google.com> <4F8522D3.9060806@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox