You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7bd7ef0
Browse filesBrowse the repository at this point in the historyBrowse files
π fix: only require CREATE on the POSTGRES_SCHEMA target, not fallbacks
Requiring CREATE on every listed schema rejected the documented
least-privilege setup (POSTGRES_SCHEMA=myapp,extensions where the app
writes only to myapp and merely reads types from extensions) β the
validation was stricter than PostgreSQL's own behavior, which only
needs CREATE on the first schema in search_path.
Now require USAGE on every schema (needed for type/function resolution
at query time) but CREATE only on the target (schemas[0]). The error
message distinguishes target-level CREATE gaps from USAGE gaps so the
operator knows exactly which grant to fix.
0 commit comments