Re: Pl/Java - next step?

From: "Rob Butler" <robert(dot)butler5(at)verizon(dot)net>
To: "Thomas Hallgren" <thhal(at)mailblocks(dot)com>, <pg(at)fastcrypt(dot)com>, "HORNYAK Laszlo" <hornyakl(at)inf(dot)elte(dot)hu>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Pl/Java - next step?
Date: 2004-02-23 22:36:06
Message-ID: 004a01c3fa5d$6dee6b70$0802a8c0@coderhp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello all,
>
> 3. Probe deeper and see if there's more that we can share (C-code
> essentially).
> I have my doubts about sharing C-code since we do things fundamentally
> different. I know you have a generic call mechanism that we could use to
> establish a common ground, but I think it would bad for both designs. We
> have different objectives. You strive to minimize the number of RPC calls.
I
> strive to minimize call overhead and resource consumption.
>
I've been following this thread - and don't know much about either
implementation. On the re-use front it would be VERY nice if you could
somehow have a single patch for PostgreSQL's C code that called a set of
Java interfaces. Then each of your implementations could implement that set
of Java interfaces (one using JNI, the other using RMI). This would allow
the user to swap between either implementation, but would also reduce the
amount of similar C code in Postgres. Something I think the PostgreSQL
hackers would much prefer.

Later
Rob

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-02-23 23:36:48 Re: aliases, &c in HAVING clause?
Previous Message Thomas Hallgren 2004-02-23 22:11:44 Re: Pl/Java - next step?