README.md

March 27, 2018 ยท View on GitHub

Flux is a some code to track changes on a table and see what happened when.

To test it, do:

  • create some database (create database testdb);
  • run make install (possibly via sudo) in flux directory, to install extension files
  • load create.sql to database testdb: psql -d testdb -qAtX -f create.sql
  • load pgtap.sql to database testdb: psql -d testdb -qAtX -f pgtap.sql
  • run pg_prove: pg_prove -d testdb --recurse tests/