Re: Javascript support in the backend, i.e. PL/JS
От
Sam Mason
Тема
Re: Javascript support in the backend, i.e. PL/JS
Дата
Msg-id
20071116082949.GM1955@frubble.xen.chris-lamb.co.uk
Ответ на
Re: Javascript support in the backend, i.e. PL/JS (Pavel Stehule)
Список
Дерево обсуждения
Javascript support in the backend, i.e. PL/JS Sam Mason <sam@samason.me.uk>
Re: Javascript support in the backend, i.e. PL/JS Tom Lane <tgl@sss.pgh.pa.us>
Re: Javascript support in the backend, i.e. PL/JS Sam Mason <sam@samason.me.uk>
Re: Javascript support in the backend, i.e. PL/JS Tom Lane <tgl@sss.pgh.pa.us>
Re: Javascript support in the backend, i.e. PL/JS "Pavel Stehule" <pavel.stehule@gmail.com>
Re: Javascript support in the backend, i.e. PL/JS Sam Mason <sam@samason.me.uk>
Re: Javascript support in the backend, i.e. PL/JS Andreas Joseph Krogh <andreak@officenet.no>
Re: Javascript support in the backend, i.e. PL/JS Sam Mason <sam@samason.me.uk>
Re: Javascript support in the backend, i.e. PL/JS Andreas Joseph Krogh <andreak@officenet.no>
Re: Javascript support in the backend, i.e. PL/JS Sam Mason <sam@samason.me.uk>
Re: Javascript support in the backend, i.e. PL/JS Andreas Joseph Krogh <andreak@officenet.no>
On Fri, Nov 16, 2007 at 09:20:37AM +0100, Pavel Stehule wrote: > On 16/11/2007, Sam Mason wrote: > > Hi All, > > > > I've been writing some code[1] to support Javascript in the backend. > > I've got the basic bits working, the next job for me is implementing > > SPI support. Currently, it runs simple bits of code like the > > following: > > > > CREATE FUNCTION jsinc(n INTEGER) RETURNS INTEGER LANGUAGE pljs AS $$ > > return n+1; > > $$; > > nice It obviously runs much more complicated bits of javascript, but the main point is that it can't touch the outside world in any way. Functions are (as far as I understand the javascript implementation) completely deterministic (IMMUTABLE, in PG speak). Sam
В списке pgsql-hackers по дате отправления