Skip to content
/ plsci Public

PostgreSQL procedural language handler for Clojure via SCI

License

Notifications You must be signed in to change notification settings

borkdude/plsci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pl/sci

project chat

Status

This is very much an experiment and I'm open to feedback on where to take this next.

Build

Requirements

Steps

  1. Set GRAALVM_HOME to your GraalVM directory (the one that contains the bin directory).

  2. 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).

  3. 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)

License

Copyright © 2021 Michiel Borkent

Distributed under the EPL License. See LICENSE.

About

PostgreSQL procedural language handler for Clojure via SCI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published