PostgreSQL procedural language handler for Clojure via SCI
EPL-1.0 License
This is very much an experiment and I'm open to feedback on where to take this next.
Set GRAALVM_HOME
to your GraalVM directory (the one that contains the bin
directory).
Run script/compile-libplsci
. Currently this build script contains some
macOS-specific things like .dylib
and install_name_tool
. This will be
made more portable later on (PR welcome).
Run cargo pgx run pg13
. Then try it out:
psql (13.0)
Type "help" for help.
plsci=# create extension plsci;
CREATE EXTENSION
plsci=# select * from plsci('(+ 1 2 3)');
plsci
-------
6
(1 row)
Copyright © 2021 Michiel Borkent
Distributed under the EPL License. See LICENSE.