Skip to content

schedoc

Cross documentation between Django and DBT projects

pg_schedoc : Cross documentation between Django and DBT projects

Overview

ID Extension Package Version Category License Language
4330 schedoc pg_schedoc 0.0.2 UTIL GPL-3.0 SQL
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
----d-- No No No Yes no no

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PIGSTY 0.0.2 19 18 17 16 15 pg_schedoc ddl_historization
RPM PIGSTY 0.0.2 19 18 17 16 15 pg_schedoc_$v ddl_historization_$v
DEB PIGSTY 0.0.2 19 18 17 16 15 postgresql-$v-pg-schedoc postgresql-$v-ddl-historization
Linux / PG PG19 PG18 PG17 PG16 PG15
el8.x86_64 N/A PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
el8.aarch64 N/A PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
el9.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
el9.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
el10.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
el10.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
d12.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
d12.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
d13.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
d13.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u22.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u22.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u24.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u24.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u26.x86_64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
u26.aarch64 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2 PIGSTY 0.0.2
Package Version OS ORG SIZE File URL
pg_schedoc_19 0.0.2 el9.x86_64 pigsty 23.7 KiB pg_schedoc_19-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_19 0.0.2 el9.aarch64 pigsty 23.7 KiB pg_schedoc_19-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_19 0.0.2 el10.x86_64 pigsty 23.8 KiB pg_schedoc_19-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
pg_schedoc_19 0.0.2 el10.aarch64 pigsty 23.8 KiB pg_schedoc_19-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
postgresql-19-pg-schedoc 0.0.2 d12.x86_64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-19-pg-schedoc 0.0.2 d12.aarch64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-19-pg-schedoc 0.0.2 d13.x86_64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-19-pg-schedoc 0.0.2 d13.aarch64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-19-pg-schedoc 0.0.2 u22.x86_64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-19-pg-schedoc 0.0.2 u22.aarch64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-19-pg-schedoc 0.0.2 u24.x86_64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-19-pg-schedoc 0.0.2 u24.aarch64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-19-pg-schedoc 0.0.2 u26.x86_64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
postgresql-19-pg-schedoc 0.0.2 u26.aarch64 pigsty 5.6 KiB postgresql-19-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
Package Version OS ORG SIZE File URL
pg_schedoc_18 0.0.2 el8.x86_64 pigsty 24.2 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_18 0.0.2 el8.aarch64 pigsty 24.2 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_18 0.0.2 el9.x86_64 pigsty 23.7 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_18 0.0.2 el9.aarch64 pigsty 23.7 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_18 0.0.2 el10.x86_64 pigsty 23.8 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
pg_schedoc_18 0.0.2 el10.aarch64 pigsty 23.8 KiB pg_schedoc_18-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
postgresql-18-pg-schedoc 0.0.2 d12.x86_64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-18-pg-schedoc 0.0.2 d12.aarch64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-18-pg-schedoc 0.0.2 d13.x86_64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-18-pg-schedoc 0.0.2 d13.aarch64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-18-pg-schedoc 0.0.2 u22.x86_64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-18-pg-schedoc 0.0.2 u22.aarch64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-18-pg-schedoc 0.0.2 u24.x86_64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-18-pg-schedoc 0.0.2 u24.aarch64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-18-pg-schedoc 0.0.2 u26.x86_64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
postgresql-18-pg-schedoc 0.0.2 u26.aarch64 pigsty 5.6 KiB postgresql-18-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
Package Version OS ORG SIZE File URL
pg_schedoc_17 0.0.2 el8.x86_64 pigsty 24.2 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_17 0.0.2 el8.aarch64 pigsty 24.2 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_17 0.0.2 el9.x86_64 pigsty 23.7 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_17 0.0.2 el9.aarch64 pigsty 23.7 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_17 0.0.2 el10.x86_64 pigsty 23.9 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
pg_schedoc_17 0.0.2 el10.aarch64 pigsty 23.9 KiB pg_schedoc_17-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
postgresql-17-pg-schedoc 0.0.2 d12.x86_64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-17-pg-schedoc 0.0.2 d12.aarch64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-17-pg-schedoc 0.0.2 d13.x86_64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-17-pg-schedoc 0.0.2 d13.aarch64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-17-pg-schedoc 0.0.2 u22.x86_64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-17-pg-schedoc 0.0.2 u22.aarch64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-17-pg-schedoc 0.0.2 u24.x86_64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-17-pg-schedoc 0.0.2 u24.aarch64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-17-pg-schedoc 0.0.2 u26.x86_64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
postgresql-17-pg-schedoc 0.0.2 u26.aarch64 pigsty 5.6 KiB postgresql-17-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
Package Version OS ORG SIZE File URL
pg_schedoc_16 0.0.2 el8.x86_64 pigsty 24.2 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_16 0.0.2 el8.aarch64 pigsty 24.2 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_16 0.0.2 el9.x86_64 pigsty 23.7 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_16 0.0.2 el9.aarch64 pigsty 23.7 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_16 0.0.2 el10.x86_64 pigsty 23.9 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
pg_schedoc_16 0.0.2 el10.aarch64 pigsty 23.9 KiB pg_schedoc_16-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
postgresql-16-pg-schedoc 0.0.2 d12.x86_64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-16-pg-schedoc 0.0.2 d12.aarch64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-16-pg-schedoc 0.0.2 d13.x86_64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-16-pg-schedoc 0.0.2 d13.aarch64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-16-pg-schedoc 0.0.2 u22.x86_64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-16-pg-schedoc 0.0.2 u22.aarch64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-16-pg-schedoc 0.0.2 u24.x86_64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-16-pg-schedoc 0.0.2 u24.aarch64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-16-pg-schedoc 0.0.2 u26.x86_64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
postgresql-16-pg-schedoc 0.0.2 u26.aarch64 pigsty 5.6 KiB postgresql-16-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
Package Version OS ORG SIZE File URL
pg_schedoc_15 0.0.2 el8.x86_64 pigsty 24.2 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_15 0.0.2 el8.aarch64 pigsty 24.2 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el8.noarch.rpm
pg_schedoc_15 0.0.2 el9.x86_64 pigsty 23.7 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_15 0.0.2 el9.aarch64 pigsty 23.7 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el9.noarch.rpm
pg_schedoc_15 0.0.2 el10.x86_64 pigsty 23.9 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
pg_schedoc_15 0.0.2 el10.aarch64 pigsty 23.9 KiB pg_schedoc_15-0.0.2-1.git20260430.9f135c3PGSTY.el10.noarch.rpm
postgresql-15-pg-schedoc 0.0.2 d12.x86_64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-15-pg-schedoc 0.0.2 d12.aarch64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~bookworm_all.deb
postgresql-15-pg-schedoc 0.0.2 d13.x86_64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-15-pg-schedoc 0.0.2 d13.aarch64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~trixie_all.deb
postgresql-15-pg-schedoc 0.0.2 u22.x86_64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-15-pg-schedoc 0.0.2 u22.aarch64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~jammy_all.deb
postgresql-15-pg-schedoc 0.0.2 u24.x86_64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-15-pg-schedoc 0.0.2 u24.aarch64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~noble_all.deb
postgresql-15-pg-schedoc 0.0.2 u26.x86_64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb
postgresql-15-pg-schedoc 0.0.2 u26.aarch64 pigsty 5.6 KiB postgresql-15-pg-schedoc_0.0.2+git20260430.9f135c3-1PGSTY~resolute_all.deb

Source

pig build pkg pg_schedoc;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_schedoc;		# install via package name, for the active PG version
pig install schedoc;		# install by extension name, for the current active PG version

pig install schedoc -v 19;   # install for PG 19
pig install schedoc -v 18;   # install for PG 18
pig install schedoc -v 17;   # install for PG 17
pig install schedoc -v 16;   # install for PG 16
pig install schedoc -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION schedoc CASCADE; -- requires ddl_historization

Usage

schedoc: Schema documentation via COMMENT on PostgreSQL objects

Builds automatic documentation from COMMENT on PostgreSQL objects. Requires the ddl_historization extension.

Setup

CREATE EXTENSION schedoc CASCADE;
SELECT schedoc_start();

Adding Column Documentation

Set comments on columns in JSON format with predefined fields:

COMMENT ON COLUMN my_table.id IS '{"status": "private"}';
COMMENT ON COLUMN my_table.email IS '{"status": "public"}';
COMMENT ON COLUMN my_table.name IS '{"status": "internal"}';

Querying Documentation

Query the parsed column comments:

SELECT * FROM schedoc_column_comments;

Result:

 databasename | tablename | columnname | status
--------------+-----------+------------+---------
 mydb         | my_table  | id         | private
 mydb         | my_table  | email      | public
 mydb         | my_table  | name       | internal

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.

Table reader