Re: PL/pgSQL 2

From: Álvaro Hernández Tortosa <aht(at)nosys(dot)es>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/pgSQL 2
Date: 2014-09-16 16:12:58
Message-ID: 5418618A.9060309@nosys.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 04/09/14 18:02, Craig Ringer wrote:
> On 09/04/2014 06:48 AM, Joshua D. Drake wrote:
>> On 09/03/2014 11:48 AM, Robert Haas wrote:
>>
>>> Anyway, to get back around to the topic of PL/SQL compatibility
>>> specifically, if you care about that issue, pick one thing that exists
>>> in PL/SQL but not in PL/pgsql and try to do something about it. Maybe
>>> it'll be something that EnterpiseDB has already done something about,
>>> in which case, if your patch gets committed, Advanced Server will lose
>>> a bit of distinction as compared with PostgreSQL. Or maybe it'll be
>>> something that EnterpriseDB hasn't done anything about, and then
>>> everybody comes out strictly ahead. What I think you shouldn't do
>>> (although you're free to ignore me) is continue thinking of Oracle
>>> compatibility as one monolithic thing, because it isn't, or to pursue
>>> of a course of trying to get the PostgreSQL community to slavishly
>>> follow Oracle, because I think you'll fail, and even if you succeed I
>>> don't think the results will actually be positive for PostgreSQL.
>> Well put Robert.
> Indeed, especially with reference to the size and scope of Oracle. Its
> XML library alone is huge.
>
> At best it's reasonable to hope for compatibility with a limited subset
> of PL/SQL - and really, we're a good way there already, with most of
> what's missing being down to missing core server features or things
> PostgreSQL just does differently.
>
> True "Oracle compatibility" (for procedures) pretty much requires an
> embedded JVM with a rich class library. Since PL/Java seems to be dying
> a slow death by neglect and disinterest I don't think it's likely anyone
> would be tackling compatibility with the embedded JVM features anytime soon.
>
> There are a few things I would like to see, like secure session
> variables in PL/PgSQL. Mostly, though, I think talk of "Oracle
> compatibility" seems to be something that comes up before the speaker
> has really understood what that would mean, and the sheer scope of the
> endeavour.
>
> It's not going from 50% compatible to 80% compatible, it's going from 5%
> compatible to 7% compatible. The most used 5% maybe, but still...
>

Getting that 5% of what is most used, would be a great gain. Maybe
the speaker is mislead in the size of the endeavour, but quite sure
about what that market needs are ;)

Cheers,

Álvaro

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2014-09-16 16:47:39 Re: jsonb format is pessimal for toast compression
Previous Message Matthew Kelly 2014-09-16 16:06:31 Collations and Replication; Next Steps