Re: [HACKERS] RustgreSQL

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: [HACKERS] RustgreSQL
Дата
Msg-id
CAM-w4HOLfNZs74yzRD+JjwE44ub5wXoyuMYzEVMRwqUT+uU1tQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] RustgreSQL Joel Jacobson <joel@trustly.com>
Re: [HACKERS] RustgreSQL "Greg Sabino Mullane" <greg@turnstep.com>
Re: [HACKERS] RustgreSQL Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] RustgreSQL Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] RustgreSQL Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] RustgreSQL David Fetter <david@fetter.org>
Re: [HACKERS] RustgreSQL Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] RustgreSQL Joel Jacobson <joel@trustly.com>
Re: [HACKERS] RustgreSQL Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Joel Jacobson <joel@trustly.com>
Re: [HACKERS] RustgreSQL Jan de Visser <jan@de-visser.net>
Re: [HACKERS] RustgreSQL Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] RustgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] RustgreSQL Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] RustgreSQL "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] RustgreSQL Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] RustgreSQL Kevin Grittner <kgrittn@gmail.com>
Re: [HACKERS] RustgreSQL otheus uibk <otheus.uibk@gmail.com>
Re: [HACKERS] RustgreSQL Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Joel Jacobson <joel@trustly.com>
Re: [HACKERS] RustgreSQL Jan de Visser <jan@de-visser.net>
Re: [HACKERS] RustgreSQL Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] RustgreSQL Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] RustgreSQL Peter Geoghegan <pg@heroku.com>
Re: [HACKERS] RustgreSQL Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] RustgreSQL Jan de Visser <jan@de-visser.net>
Re: [HACKERS] RustgreSQL Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] RustgreSQL Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] RustgreSQL Greg Stark <stark@mit.edu>
Re: [HACKERS] RustgreSQL Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] RustgreSQL Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] RustgreSQL Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] RustgreSQL Craig Ringer <craig.ringer@2ndquadrant.com>
On 8 January 2017 at 21:50, Jim Nasby  wrote:
> Somewhat related to that... it would be useful if Postgres had "fenced"
> functions; functions that ran in a separate process and only talked to a
> backend via a well defined API (such as libpq). There's two major advantages
> that would give us:

The problem with this is that any of the "interesting" extensions need
to use the server API. That is, they need to be able to do things like
throw errors, expand toast data, etc.

IMHO just about anything you could do in an external process would be
something you could much more easily and conveniently do in the
client. And it would be more flexible and scalable as well as it's a
lot easier to add more clients than it is to scale up the database.

That said, there were several pl language implementations that worked
this way. IIRC one of the Java pl languages ran in a separate Java
process.

I think the solution to the problem you're describing is the project
formerly known as NaCl
https://en.wikipedia.org/wiki/Google_Native_Client

-- 
greg


В списке pgsql-hackers по дате отправления
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] RustgreSQL
От: Jan de Visser
Дата:
Сообщение: Re: [HACKERS] RustgreSQL
FAQ