omnidb_plugin
PostgreSQL plugin for enabling PL/pgSQL debugger in OmniDB
omnidb_plugin · PostgreSQL plugin for enabling PL/pgSQL debugger in OmniDB
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101488 | omnidb_plugin | omnidb_plugin | 0.0.1 | LANG | MIT | C |
Usage
Sources:
- Official upstream README
- Official extension control file (omnidb_plugin.control)
- Official extension SQL (omnidb_plugin–0.0.1.sql)
omnidb_plugin — nano /etc/postgresql/X.Y/main/postgresql.conf shared_preload_libraries = ‘/opt/omnidb-plugin/omnidb_plugin_XY’. Use it when database code must run in or interoperate with this procedural language. 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
omnidb.omnidb_enable_debugger(character varying)is an extension function and returnsvoid.omnidb.contextsis a table installed or managed by the extension.omnidb.statisticsis a table installed or managed by the extension.omnidb.variablesis a table installed or managed by the extension.omnidbis a schema created by the extension.
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.