Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-26 Thread Dmitry Igrishin
чт, 26 мар. 2020 г. в 10:08, Ivan E. Panchenko : > > > On 26.03.2020 03:50, Bruce Momjian wrote: > > On Wed, Mar 25, 2020 at 05:46:27PM +0200, Marius Andreiana wrote: > >> Thanks Tom, that makes sense. Appreciate your time to explain the context. > >> > >> I'll followup with Heroku. > > Also, I

Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-26 Thread Bruce Momjian
On Thu, Mar 26, 2020 at 10:07:48AM +0300, Ivan Panchenko wrote: > > On 26.03.2020 03:50, Bruce Momjian wrote: > > On Wed, Mar 25, 2020 at 05:46:27PM +0200, Marius Andreiana wrote: > > > Thanks Tom, that makes sense. Appreciate your time to explain the context. > > > > > > I'll followup with

Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-26 Thread Ivan E. Panchenko
On 26.03.2020 03:50, Bruce Momjian wrote: On Wed, Mar 25, 2020 at 05:46:27PM +0200, Marius Andreiana wrote: Thanks Tom, that makes sense. Appreciate your time to explain the context. I'll followup with Heroku. Also, I have heard PL/V8 is very hard to build for packagers (because of changes

Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-25 Thread Bruce Momjian
On Wed, Mar 25, 2020 at 05:46:27PM +0200, Marius Andreiana wrote: > Thanks Tom, that makes sense. Appreciate your time to explain the context. > > I'll followup with Heroku. Also, I have heard PL/V8 is very hard to build for packagers (because of changes by Google in the way V8 is packaged),

Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-25 Thread Marius Andreiana
Thanks Tom, that makes sense. Appreciate your time to explain the context. I'll followup with Heroku. Have a peaceful day, Marius On Wed, Mar 25, 2020 at 4:50 PM Tom Lane wrote: > Marius Andreiana writes: > > How about enabling users to do more advanced processing of JSON > > data inside

Re: PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-25 Thread Tom Lane
Marius Andreiana 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.

PostgreSQL 13: native JavaScript Procedural Language support ?

2020-03-25 Thread Marius Andreiana
Hi and hope this finds you well, PostgreSQL has state of the art JSON(B) data type and query support, and basic updates as well, eg jsonb_set(). How about enabling users to do more advanced processing of JSON data inside the database itself, using JavaScript? There's the PLV8 extension