Re: PLV8JS

Lists: pgsql-hackers
From: Milton Labanda <1000ton(dot)lab(at)gmail(dot)com>
To: will(at)heroku(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: PLV8JS
Date: 2012-09-21 22:14:48
Message-ID: CAE97+2wGA_mVaU2d8bE_HO+Oxs0eZn9iipDD8z2F+H=ShjZdag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi friends, wich context is the apropiate to install this plugin?
I have

- Ubuntu 11
- x64 architecture
- postgresql 9,2
- libv8-3.1 (system package)

but not get install it. Some ideas?

/\/\;/-----------------------------------------------------
Milton Labanda [miltonlab]
Distro: Debian GNU/Linux 6.0 Squeeze
Blog: http://1000tonlab.wordpress.com
jabber: miltonlab(at)jabber(dot)org <milotnlab(at)jabber(dot)org>
"... Solamente la libertad que se somete a la Verdad conduce a la persona
humana a su verdadero bien...". Karol Wojtyla
(:\ Usa Software Legal, usa Software Libre /:)


From: Daniel Farina <daniel(at)heroku(dot)com>
To: Milton Labanda <1000ton(dot)lab(at)gmail(dot)com>
Cc: will(at)heroku(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PLV8JS
Date: 2012-09-22 05:23:51
Message-ID: CAAZKuFYELQRG-CBorTH2_8NrgTFgOj52ycQ1eix_XhntPaKD4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Sep 21, 2012 at 3:14 PM, Milton Labanda <1000ton(dot)lab(at)gmail(dot)com> wrote:
> Hi friends, wich context is the apropiate to install this plugin?
> I have
>
> Ubuntu 11
> x64 architecture
> postgresql 9,2
> libv8-3.1 (system package)
>
> but not get install it. Some ideas?

Well, I'm not sure if pgsql-hackers is quite the right mailing list
for this (there's a plv8 mailing list), but because plv8 is probably
going to be so instrumental to many profitable uses I can help you
address it quickly, and maybe some other denizens of -hackers will
have some opinions, especially because this general problem is going
to surface more frequently as number of extensions mushroom.

Until a distribution/operating system integrator commits to packaging
some version of plv8 and/or v8, I recommend employing static linking
of plv8 to a self-downloaded libv8. This lets you handle multiple
versions of plv8 and libv8 on the same system (but different database
installs) and lets you get the latest and greatest v8s at-will.

Alternatively, you may be determined to get the plv8 build to work
with your OS of choice, even if they do not have packages. I think
that's a longer discussion that'd need to happen at a plv8 mailing
list.

In general, I think if there is to be a guideline for Postgres
extensions it should be to enable static linking of dependencies or
perhaps a more detailed guideline involving enabling self-contained
concurrent installs of dynamically linked extension dependencies. I
am currently in the depths of dependency hell involving some of the
GIS libraries and PostGIS and really, really wish I could do either of
these.

There is a relevant discussion here:

https://code.google.com/p/plv8js/issues/detail?id=36#makechanges

--
fdr