mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
docs(db): describe the layers that hold plugin SQL on Postgres and the NUL rule for plugin data
The plugin-sdk README, the Postgres wiki page and server/CLAUDE.md now name the layers as the code enforces them: the refusal on a privileged role and the boot log line, the guard (the reg* types, INTO after the statement's own INSERT or MERGE only, TEMP only where it makes a temporary object), the targets Postgres resolves before an ALTER, DROP, REFRESH, TRUNCATE or CREATE INDEX, one statement per round trip, pg_temp last, and the quota over every relation with the object cap. They also say that a plugin argument holding NUL is refused on Postgres and bound exactly on SQLite.
This commit is contained in:
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user