metaschema-schema
metaschema-schema · Relational metadata for generated databases, schemas and fields
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102147 | metaschema-schema | metaschema-schema | 0.47.0 | FEAT | MIT | PLpgSQL |
| Relationships | |
|---|---|
| Requires | citext hstore pgpm-inflection pgpm-database-jobs pgpm-types pgcrypto plpgsql postgis uuid-ossp pgpm-verify |
Usage
Sources:
- packages/metaschema-schema/README.md
- packages/metaschema-schema/sql/metaschema-schema–0.47.0.sql
- packages/metaschema-schema/Makefile
- packages/metaschema-schema/metaschema-schema.control
metaschema-schema stores a declarative database model in metadata tables. It describes databases, schemas, tables, fields, constraints, indexes and grants for the surrounding platform.
Core Workflow
Operational Boundaries
The fixed metaschema_public and metaschema_private schemas include validation helpers and change/job integration. A metadata row is not proof that physical DDL has been applied: the platform’s reconciler must process the model. Review generated identifiers, privileges, version alignment and migration effects before changing these records.
Version 0.47.0 is a SQL/PLpgSQL extension with no own shared library or preload. Install the matching dependency versions first: citext, hstore, pgpm-inflection, pgpm-database-jobs, pgpm-types, pgcrypto, plpgsql, postgis, uuid-ossp, pgpm-verify. Its SQL expects the platform roles authenticated to exist; use the upstream role bootstrap and review grants before installation. The control permits non-superuser installation but is not marked trusted; dependency, schema and role-grant privileges still apply. No current PostgreSQL-major matrix is declared.