README.md
December 18, 2016 ยท View on GitHub
Toy extension demonstrating PostgreSQL extensions in Rust, implements base36_encode as found here.
Initial heavy lifting was done over at jsoncdc, from which boilerplate code was liberaly stolen borrowed :).
Testing it out
- Build and start the image:
docker-compose up
- Bash into it:
docker exec -it $(docker ps | grep rpgbase | awk '{print \$1}') /bin/bash
- Once inside make and test:
make install && PGUSER=postgres make installcheck
There you go, we now have a fully functional PG extension written in Rust, and glued together with a pinch of C.
Looking forward to any feedback :)