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:01:59 -0700
Message-ID: <4F851E57.5060802@hogranch.com> (raw)
In-Reply-To: <4f851a34.c505440a.4905.4f24@mx.google.com>
References: <4f802005.cc76440a.668b.ffffcd8e@mx.google.com>
	<4F831234.7040209@dunslane.net>
	<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>

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




view thread (43+ messages)  latest in thread

Message-ID: <4F851E57.5060802@hogranch.com>
Permalink:  ../4F851E57.5060802@hogranch.com/
Also on:    postgresql.org/message-id/4F851E57.5060802@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: <4F851E57.5060802@hogranch.com>
  References: <4f802005.cc76440a.668b.ffffcd8e@mx.google.com> <4F831234.7040209@dunslane.net> <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>

* 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