pg_misc_functions
Administrative test functions for backend errors, PANIC, crashes, and failover exercises.
pg_misc_functions · Administrative test functions for backend errors, PANIC, crashes, and failover exercises.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101918 | pg_misc_functions | pg_misc_functions | 1.0 | ADMIN | PostgreSQL | C |
Usage
Sources:
pg_misc_functions Administrative test functions for backend errors, PANIC, crashes, and failover exercises.
Enablement
Install the files for the intended server, then create pg_misc_functions in the target database:
Core Workflow
The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.
Main Objects
The reviewed install surface includes these prominent objects:
| Object | Kind | Operational role |
|---|---|---|
pg_signal_backend | FUNCTION | Callable function from the reviewed install surface. |
pg_cause_fatal | FUNCTION | Callable function from the reviewed install surface. |
pg_cause_panic | FUNCTION | Callable function from the reviewed install surface. |
pg_control_checkpoint_previous_tli | FUNCTION | Callable function from the reviewed install surface. |
pg_control_checkpoint_tli | FUNCTION | Callable function from the reviewed install surface. |
pg_current_wal_tli | FUNCTION | Callable function from the reviewed install surface. |
pg_last_wal_receive_tli | FUNCTION | Callable function from the reviewed install surface. |
pg_last_wal_replay_tli | FUNCTION | Callable function from the reviewed install surface. |
Operations and Boundaries
- Catalog lifecycle is abandoned; test upgrades, dump/restore, and server compatibility before production use.