Schema catalog SQL: eleven bounded read-only checks
Reported passed · vb236d3583fb5
View input and acceptance criteria
Input
Execute selected overview, tables and views reference queries in a read-only PostgreSQL transaction. Bind schema/table values containing spaces, quotes and semicolons; inspect synthetic columns, constraints, foreign keys and view definitions without running the view.
Acceptance criteria
Eleven selected assertions match on PostgreSQL 17.11, including bound values, missing objects and read-only mutation rejection. This is not a complete reference, PostgreSQL 18 compatibility or permission-matrix audit.
Recorded outcome
Eleven bounded assertions for selected original catalog SQL, with client placeholders adapted to psycopg parameter binding. Not all reference queries or versions; superuser QA results do not establish least-privilege compatibility. No full skill execution.
{
"executed_at": "2026-10-03T08:29:31.623571+00:00",
"server_version": "17.11 (Debian 17.11-1.pgdg12+2)",
"pgvector_version": "0.8.7",
"count": 11,
"checks": [
{
"case": "catalog_context_read_only",
"passed": true
},
{
"case": "catalog_schema_inventory",
"passed": true
},
{
"case": "catalog_quoted_schema_relations",
"passed": true
},
{
"case": "catalog_columns_identity_not_null",
"passed": true
},
{
"case": "catalog_constraints",
"passed": true
},
{
"case": "catalog_foreign_key",
"passed": true
},
{
"case": "catalog_direct_view_dependency",
"passed": true
},
{
"case": "catalog_view_definition_not_execution",
"passed": true
},
{
"case": "catalog_table_value_binding_no_injection",
"passed": true
},
{
"case": "catalog_missing_schema_empty",
"passed": true
},
{
"case": "read_only_rejects_mutation",
"passed": true
}
],
"source_file_sha256": {
"schema-exploration/references/overview.md": "f8be7d79ecf0437db77de378dd6e9f615e8e9c8df44eae7907d01c4ee6cceae8",
"schema-exploration/references/tables.md": "a5911dd9feb7e1c37c1c9c27902662f656944ddb956e88e780ce2a2cae9a8e5d",
"schema-exploration/references/views.md": "03d588a87bf2bdd3dd5baea3c9bf9ce2ec5c515853b251b40645cf97c13ab7e3"
},
"probe_sha256": "b9bf96bf549066c34afec211519724330af701489c2718fba0179d82621ceee9",
"batch_sha256": "ffdc58d8b50dfde1f62e25b83d3dc3c1500e6a62df01a1a594d67f185b4e2191",
"skill_version": "b236d3583fb5",
"package_sha256": "3882de370424e3971fc3954885f0b0cb2eca264f565b5aac76afe63d4fa6b9b2"
}Environment
Isolated disposable PostgreSQL 17.11 and pgvector 0.8.7; synthetic objects only, no production volume or connection. Memory-backed database, statement timeouts; QA superuser. Not a least-privilege audit.
Package SHA-256: 3882de370424e3971fc3954885f0b0cb2eca264f565b5aac76afe63d4fa6b9b2
Outcome recorded: 2026-10-03 08:29 UTC