meta
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_meta | 0.4.0 | STAT | BSD-2-Clause | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 6430 | meta | No | No | No | Yes | No | No | meta |
| Related | ddlx pg_readme pgdd pg_catcheck pg_checksums pg_render pg_get_functiondef amcheck pg_dbms_metadata schedoc |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.4.0 | 1817161514 | pg_meta | - |
| RPM | PIGSTY | 0.4.0 | 1817161514 | pg_meta_$v | - |
| DEB | PIGSTY | 0.4.0 | 1817161514 | postgresql-$v-pg-meta | - |
Build
You can build the RPM / DEB packages for pg_meta using pig build:
Install
You can install pg_meta directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
meta provides a normalized, human-friendly system catalog with common names for views and columns, sitting on top of pg_catalog and information_schema.
System Catalog Views
The extension creates approximately 30 views in the meta schema:
Available Views
cast, column, connection, constraint_check, constraint_unique, extension, foreign_column, foreign_data_wrapper, foreign_key, foreign_server, foreign_table, function, function_parameter, operator, policy, policy_role, relation, relation_column, role, role_inheritance, schema, sequence, table, table_privilege, trigger, type, view
Meta-Identifiers
The extension provides composite types that serve as “soft” primary keys to identify PostgreSQL objects by name (tables, columns, types, etc.) rather than by OID.
Catalog Triggers (Optional)
With the optional meta_triggers extension, views become updatable, enabling DDL via DML:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)