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:
Maurice
2026-11-17 22:28:44 +01:00
parent f1ea716305
commit 9fd77b04fa
3 changed files with 57 additions and 17 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long