pg_procfs
displays /proc data from SQL
pg_procfs · displays /proc data from SQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101596 | pg_procfs | pg_procfs | 0.0.1 | STAT | PostgreSQL | C |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_procfs.control)
- Official extension SQL (pg_procfs–0.0.1.sql)
pg_procfs — PostgreSQL extension to display /proc FS data from SQL. Use it when collecting or interpreting the corresponding PostgreSQL statistics. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
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
pg_procfs(IN filename cstring, OUT line integer, OUT data text)is an extension function and returnsSETOF record.
Requirements and Caveats
- The reviewed control file declares default version
0.0.1. - The control file marks the extension as non-relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.