pgsql-test Tutorial: Real Postgres Tests for RLS and Triggers
Step-by-step setup for pgsql-test: seed an ephemeral Postgres database, test row-level security in both directions, and assert on triggers and constraint violations inside your existing test runner.
