From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marius Andreiana <marius.andreiana@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL 13: native JavaScript Procedural Language support ?
Date: Wed, 25 Mar 2020 10:50:28 -0400
Message-ID: <20541.1585147828@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPUEYuZuCCdB9y2Y85puveq6tSyzyTTOpLC1MzH0q+vRwhNBqg@mail.gmail.com>
References: <CAPUEYuZuCCdB9y2Y85puveq6tSyzyTTOpLC1MzH0q+vRwhNBqg@mail.gmail.com>
Marius Andreiana <marius.andreiana@gmail.com> writes:
> How about enabling users to do more advanced processing of JSON
> data inside the database itself, using JavaScript?
> There's the PLV8 extension https://github.com/plv8/plv8
> but it's not available for many major db providers (eg Heroku), making it
> hard to adopt it. Having it supported in the standard PostgreSQL
> distribution, besides the existing 4 languages (
> https://www.postgresql.org/docs/12/xplang.html), would be awesome!
The core Postgres project doesn't have unlimited resources --- in fact,
most of the time we feel desperately short of qualified developers.
So we're not eager to pick up the maintenance burden for extensions
that seem to be doing perfectly well on their own. (The extensions
that do exist within the core distribution are largely there to make
sure we don't break extensibility by accident.)
Even if we did that, it would not automatically translate to downstream
packagers enabling the feature; they might not want the additional
dependencies.
So the right thing for you to do is to lobby Heroku to include PLV8
in their offering. You'd have to convince them to support it in
any case.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, marius.andreiana@gmail.com
Subject: Re: PostgreSQL 13: native JavaScript Procedural Language support ?
In-Reply-To: <20541.1585147828@sss.pgh.pa.us>
References: <CAPUEYuZuCCdB9y2Y85puveq6tSyzyTTOpLC1MzH0q+vRwhNBqg@mail.gmail.com> <20541.1585147828@sss.pgh.pa.us>
* 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