↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Hooks

ProcessUtility_hook

Hook for plugins to get control in ProcessUtility()

Reading PG 18·Select a recorded version

Interface type
ProcessUtility_hook_type
Header
src/include/tcop/utility.h
Subsystem
Parsing and utility commands
Initial value
NULL (no hook installed)

Definition PG 18

Hook for plugins to get control in ProcessUtility()

Compare versions

Complete source facts

signature

typedef void (*ProcessUtility_hook_type) (PlannedStmt *pstmt, const char *queryString, bool readOnlyTree, ProcessUtilityContext context, ParamListInfo params, QueryEnvironment *queryEnv, DestReceiver *dest, QueryCompletion *qc);
extern PGDLLIMPORT ProcessUtility_hook_type ProcessUtility_hook;

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd