Created
June 3, 2016 15:30
-
-
Save ciavashkh/2bd5aa21e2f874e296037043b01f7eb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /usr/local/build/postgresql-9.4.6/contrib | |
git clone https://github.com/plv8/plv8 pg_plv8 | |
cd pg_plv8 | |
sudo make static | |
sudo make install | |
sudo -u postgres psql -c "CREATE EXTENSION plv8;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment