This is very much an experiment and I'm open to feedback on where to take this next.
GRAALVM_HOMEto your GraalVM directory (the one that contains the
script/compile-libplsci. Currently this build script contains some macOS-specific things like
install_name_tool. This will be made more portable later on (PR welcome).
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.