add: log error when db-schemas config contain restricted schemas

We don't allow accessing schemas "pg_catalog" and "information_schema".
Instead of silently failing requests on these schemas, this now adds
logging an error on startup when these schemas are found in `db-schemas`
config.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2025-12-11 14:28:08 -05:00
committed by Steve Chavez
parent c232e97f80
commit abad47ff1b
5 changed files with 40 additions and 2 deletions
+4
View File
@@ -237,3 +237,7 @@ specialhostvalues:
- '*6'
- '!6'
- '*'
restrictedschemas:
- 'pg_catalog'
- 'information_schema'