Available

A SQL control surface

No separate CLI or scripting tool to learn. Every operation is a function you call from SQL.

What it is

agol_fdw exposes its operations as plpython3u functions inside the agol_fdw schema. A DBA can run the whole lifecycle from a SQL client or a scheduled job:

Why it matters

Everything is scriptable, schedulable with pg_cron or an external scheduler, and observable through ordinary SQL queries against the catalog, queues, and logs.

See it

-- full lifecycle from a SQL client:
SELECT agol_fdw.materialize_layer(
  layer_url := 'https://services.arcgis.com/.../FeatureServer/0',
  layer_name := 'poles',
  target_schema := 'data'
);

-- inspect the catalog, queues, and logs — all ordinary tables:
SELECT * FROM agol_fdw.layers;
SELECT * FROM agol_fdw.sync_run_log ORDER BY started_at DESC LIMIT 10;

Related

← Back to home