This guide walks through a clean pg_liquid install in PostgreSQL.
pg_liquid is validated against PostgreSQL 14 through 18.
Use the pg_config for the PostgreSQL instance you will install into.
make
make install
If you need a specific PostgreSQL version:
PG_CONFIG=/path/to/pg_config make
PG_CONFIG=/path/to/pg_config make install
Connect to the target database and install the extension:
create extension pg_liquid;
select extname, extversion
from pg_extension
where extname = 'pg_liquid';
select schema_name
from information_schema.schemata
where schema_name = 'liquid';
You should see:
pg_liquid in pg_extensionliquid schema presentThe extension installs:
liquidselect *
from liquid.query($$
Edge("alice", "likes", "graphs").
Edge(subject, predicate, object)?
$$) as t(subject text, predicate text, object text);