I'm trying to install this on my PostgreSQL server
http://code.google.com/p/plv8js/wiki/PLV8
the docs looks great but the problem is they are for linux and my company only have access to a Windows Server.
Someone can tell me how to install PLV8 on Windows please?

- 10,246
- 2
- 40
- 48

- 343
- 1
- 6
- 12
3 Answers
The kind folks at Postgres Online Journal have pre-compiled the binaries for PLV8 for Windows
9.2: http://www.postgresonline.com/journal/archives/280-PLV8-1.3-windows-binaries-for-PostgreSQL-9.2.html

- 46,580
- 12
- 123
- 152
-
Here's the page to keep track of for latest updates on these extensions: http://www.postgresonline.com/winextensions.php – Jonn Mar 18 '17 at 13:36
-
210: http://www.postgresonline.com/journal/archives/379-PLV8-binaries-for-PostgreSQL-10-windows-both-32-bit-and-64-bit.html – aruis Sep 09 '18 at 13:45
We managed to build it on windows and are testing it now. We'll provide binaries for it once we can be sure we can retrace our steps.
We built under Mingw64 chain (and for compiling v8 had to use scons instead of recommended glyph (or whatever that is) and had to change a couple of things in the script to make it work as well. I have it just for 32-bit windows (seems to work fine on my PostgreSQL EnterpriseDb install at first blush - loads and a sample stored proc seemed to work fine). I'm going to try next for 64-bit windows.
Other issue is the compressed files don't work. You have to go to the git one directly.
Keep your eyes focused on our site :) UPDATE: We have instructions up and also binaries if you want to try http://www.postgresonline.com/journal/archives/260-Building-on-MingW-and-deploying-on-VC-compiled-PostgreSQL-Why-and-Why-not.html

- 1,216
- 10
- 16
If you're not comfortable building PostgreSQL itself from source on Windows, then building this extension then I'd just forget about it. This is an extension that is still in the early stages and presumably subject to regular change and not tested in the real world to anywhere near the level of PostgreSQL itself or even most optional extensions. It is interesting though, isn't it?

- 21,516
- 3
- 39
- 51
-
You may wish to delete this answer. It's out of date, as Windows binaries are now available. – jpmc26 May 31 '17 at 23:03