marmotdata/postgresql

Discover databases, schemas, and tables from PostgreSQL instances

Registry Databases PostgreSQL PostgreSQL Databases AssetsLineage Experimental Marmot >=0.13.0 Version 0.5.0 (latest)Version 0.4.0Version 0.3.0Version 0.2.0Version 0.1.3Version 0.1.2Version 0.1.1Version 0.1.0 Source(opens in a new tab) Install

The PostgreSQL plugin discovers databases, schemas, and tables from PostgreSQL instances. It captures column information, table metrics, and foreign key relationships for lineage. Tables and views are identified in their MRN by database.schema.object, for example mrn://asset/table/postgresql/shop.public.orders. Set zone to a short name such as prod-eu when you run two servers of the same kind, and it becomes part of every MRN. The name is one you choose, not a cloud availability zone.

Required Permissions

The user needs read access to the information schema:

GRANT CONNECT ON DATABASE your_db TO marmot_reader;
GRANT USAGE ON SCHEMA public TO marmot_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO marmot_reader;