Re: Why isn't Java support part of Postgresql core?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rob Sargent <robjsargent(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Why isn't Java support part of Postgresql core?
Date: 2014-09-15 18:18:38
Message-ID: 54172D7E.3020304@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/15/2014 11:00 AM, Rob Sargent wrote:
> On 09/15/2014 11:49 AM, cowwoc wrote:
>> Hi Pavel,
>>
>> On 15/09/2014 1:40 PM, Pavel Stehule wrote:
>>> The main drivers are:
>>>
>>> 1. Not having to learn yet another language. I find the
>>> expressiveness and readability of the other scripting
>>> languages very clunky compared to Java.
>>>
>>>
>
>> Gili
> I've seen too many good java developers write too much terrible
> database-oriented code. If they are good with db and sql, plpgsql will
> not be a problem to learn.
>

Agreed, plpgsql is SQL with Postgres extensions. I went down this road
with plpythonu. I am comfortable in Python, so I thought it would be
easier to write functions using plpythonu. I actually did this
backwards. I had created a fairly complex function in plpgsql and I
figured I could simplify by using plpythonu. I was well into it when I
had realized I written more code in plpythonu than plpgsql and still was
not close to completing it. I still use plpythonu but only when I need
the dynamic nature of Python or really need to use some Python module.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Szymon Guz 2014-09-15 18:20:54 Re: Why isn't Java support part of Postgresql core?
Previous Message cowwoc 2014-09-15 18:13:31 Re: Why isn't Java support part of Postgresql core?