pg_liquid

pg_liquid brings Liquid-style graph, compound, and ontology querying into PostgreSQL as a native extension.

It is built for teams that want to:

What You Can Do

Start Here

  1. Install pg_liquid
  2. Create your first graph
  3. Query a graph
  4. Build an ontology

Compatibility

pg_liquid is currently validated against PostgreSQL 14, 15, 16, 17, and 18.

Core SQL Surface

liquid.query(program text)
liquid.query_as(principal text, program text)
liquid.read_as(principal text, program text)
liquid.create_row_normalizer(source_table regclass, normalizer_name text, compound_type text, role_columns jsonb, backfill boolean default true)
liquid.drop_row_normalizer(source_table regclass, normalizer_name text, purge boolean default true)
liquid.rebuild_row_normalizer(source_table regclass, normalizer_name text)

Learn by Task