pr_grapher
Grapher process for OPM
pr_grapher · Grapher process for OPM
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101730 | pr_grapher | pr_grapher | 1.1 | STAT | PostgreSQL | JavaScript |
| Relationships | |
|---|---|
| Requires | opm_core |
Usage
Sources:
- Official upstream README
- Official extension control file (pr_grapher.control)
- Official extension SQL (pr_grapher–1.0–1.1.sql)
pr_grapher — Grapher process for OPM. Use it when collecting or interpreting the corresponding PostgreSQL statistics. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
pr_grapher.delete_graph(p_id bigint)is an extension function and returnsboolean.pr_grapher.get_categories()is an extension function and returnsTABLE.pr_grapher.js_time(timestamptz)is an extension function and returnsbigint.pr_grapher.js_timetz(timestamptz)is an extension function and returnsbigint.pr_grapher.list_graph()is an extension function and returnsTABLE.pr_grapher.categoriesis a table installed or managed by the extension.pr_grapher.graph_categoriesis a table installed or managed by the extension.pr_grapher.graphsis a table installed or managed by the extension.pr_grapher.nested_categoriesis a table installed or managed by the extension.pr_grapher.seriesis a table installed or managed by the extension.
Requirements and Caveats
- The reviewed control file declares default version
1.1. - Install the confirmed extension dependencies first:
opm_core. - The control file marks the extension as non-relocatable.
- The control file does not require superuser-only installation.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.