Extensions can do it, timescaledb in this case with:INSERT INTO ... RETURNING *;
Or replacing the test in llvm_compile_expr with an Assert inslot_compile_deform ?