Files
buzz/crates
Elrond 8752ce1245 buzz-db: fail the floor policy closed on SQL it cannot attribute
With the trigger gone the source policy is the only guard. Expose SQL the
per-function scan could not see: include_str! is expanded from the file
it loads and concat! literals are joined, so both reach the existing
insert/update checks. Fail closed on what stays opaque: a non-literal
include path, a concat! that spells SQL around a non-literal argument,
event-write SQL in a const, static or macro body outside any function,
and PREPARE TRANSACTION in any production writer. Cut each function
slice to its own item so trailing consts are judged at item level.

The replica fence no longer folds pg_prepared_xacts.prepared into the
wall: only the retired trigger checked prepared rows at PREPARE, and the
insert-time guard's clock is not exposed there. A prepared transaction
now fails the sample closed (PreparedTransactions).

Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
2026-10-16 10:08:13 -04:00
..