TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
LEDGER IMPLEMENTATION IN POSTGRESQL
Summary from the TLDR newsletter
pgledger is a financial ledger implementation implemented entirely in PostgreSQL. It makes it easy to view the history to understand why an account balance is at its current value and query for a historical value at a given time. pgledger uses just functions and tables so users can have the full power of PostgreSQL and avoid integrating with any new APIs or run any new services.