myhelper
myhelper · Collection of PostgreSQL helper functions
Overview
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
myhelper is a personal pure-SQL toolkit collected into the helper schema. The reviewed tree includes array helpers, safe-looking conversion helpers, URL decoding, date utilities, privilege inspection, table description, lock and bloat reports, and table-switching scripts.
Treat the examples as discovery only and inspect the installed signatures with \df helper.*. This is a heterogeneous personal toolkit rather than a versioned public API; administrative and table-switching modules can inspect or modify database objects and may use dynamic SQL.
Install first in a disposable database, compare every created object with the pinned SQL, revoke execution from PUBLIC, and grant only individual read-only helpers. Test search paths, identifier quoting, null and exception behavior, privilege checks, concurrent DDL, and version compatibility. Prefer maintained dedicated tools for bloat, locks, privileges, and online table changes; do not import the combined SQL into a managed service without a full statement-by-statement review.