schedoc
Cross documentation between Django and DBT projects
Repository
ZeroGachis/pg_schedoc
https://github.com/ZeroGachis/pg_schedoc
Source
pg_schedoc-0.0.1.tar.gz
pg_schedoc-0.0.1.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_schedoc | 0.0.1 | UTIL | GPL-3.0 | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4330 | schedoc | No | No | No | Yes | No | No | - |
| Related | ddl_historization pg_readme ddlx pg_render pgpdf pgdd meta pg_get_functiondef pg_dbms_metadata pg_catcheck pg_query_rewrite |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.0.1 | 1817161514 | pg_schedoc | ddl_historization |
| RPM | PIGSTY | 0.0.1 | 1817161514 | pg_schedoc_$v | ddl_historization_$v |
| DEB | PIGSTY | 0.0.1 | 1817161514 | postgresql-$v-pg-schedoc | postgresql-$v-ddl-historization |
Build
You can build the RPM / DEB packages for pg_schedoc using pig build:
Install
You can install pg_schedoc directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
schedoc: Schema documentation via COMMENT on PostgreSQL objects
Builds automatic documentation from COMMENT on PostgreSQL objects. Requires the ddl_historization extension.
Setup
Adding Column Documentation
Set comments on columns in JSON format with predefined fields:
Querying Documentation
Query the parsed column comments:
Result:
Use Case
Cross-reference column metadata with other systems (e.g., Django db_comment, DBT docs) to define data contracts between developers and data analysts.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)