meta
pg_meta : Normalized, friendlier system catalog for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 6430 | meta | pg_meta | 0.4.0 |
STAT | BSD-2-Clause | SQL |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| ----d-- | No | No | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | meta |
| See Also | ddlx pg_readme pgdd pg_catcheck pg_checksums pg_render pg_get_functiondef amcheck pg_dbms_metadata schedoc |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.4.0 |
18 17 16 15 14 | pg_meta |
- |
| RPM | PIGSTY | 0.4.0 |
18 17 16 15 14 | pg_meta_$v |
- |
| DEB | PIGSTY | 0.4.0 |
18 17 16 15 14 | postgresql-$v-pg-meta |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| el8.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| el9.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| el9.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| el10.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| el10.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| d12.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| d12.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| d13.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| d13.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u22.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u22.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u24.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u24.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u26.x86_64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
| u26.aarch64 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 | PIGSTY 0.4.0 |
Source
github.com/aquameta/meta
meta-0.4.0.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
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: