pg_cheat_funcs
Provides cheat (but useful) functions
Repository
MasaoFujii/pg_cheat_funcs
https://github.com/MasaoFujii/pg_cheat_funcs
Source
pg_cheat_funcs-1.0.tar.gz
pg_cheat_funcs-1.0.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_cheat_funcs | 1.0 | ADMIN | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 5220 | pg_cheat_funcs | No | Yes | No | Yes | No | Yes | - |
| Related | pg_dirtyread pg_savior pg_crash |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0 | 1817161514 | pg_cheat_funcs | - |
| RPM | PIGSTY | 1.0 | 1817161514 | pg_cheat_funcs_$v | - |
| DEB | PIGSTY | 1.0 | 1817161514 | postgresql-$v-pg-cheat-funcs | - |
Build
You can build the RPM / DEB packages for pg_cheat_funcs using pig build:
Install
You can install pg_cheat_funcs directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
The pg_cheat_funcs extension provides a collection of utility functions for debugging, diagnostics, and low-level PostgreSQL operations. Many are superuser-restricted.
Process Control
Memory Context Inspection
Prepared Statement Inspection
Transaction & WAL Functions
Checkpoint & Recovery
File Operations
Text & Encoding Conversion
Compression
Advisory Lock Management
GUC Parameters
| Parameter | Default | Description |
|---|---|---|
pg_cheat_funcs.log_memory_context | off | Log memory context stats after query execution |
pg_cheat_funcs.hide_appname | false | Hide client application_name |
pg_cheat_funcs.log_session_start_options | off | Log connection startup options |
pg_cheat_funcs.scheduling_priority | 0 | Process scheduling priority (-20..19) |
pg_cheat_funcs.exit_on_segv | off | If on, segfault terminates session only |
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)