salaheddine el hssani: Checking a compiler against a second implementation

Salaheddine El Hssani describes testing a policy compiler by comparing it against a second, slow and plain implementation on inputs neither author chose. The compiler turns short access policies into PostgreSQL views, row-level security policies, trigger-maintained closure tables and single-row check functions. The piece covers what the differential comparison found, what it missed, and why the reference implementation itself needs checks, arguing that tests written by a code's own author share that author's misreadings.

AI-written summary, checked against the cited sources. How summaries work

Read at Planet PostgreSQL