↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Hooks

ExplainOneQuery_hook

Hook for plugins to get control in ExplainOneQuery()

Reading PG 18·Select a recorded version

Interface type
ExplainOneQuery_hook_type
Header
src/include/commands/explain.h
Subsystem
EXPLAIN
Initial value
NULL (no hook installed)

Definition PG 18

Hook for plugins to get control in ExplainOneQuery()

Compare versions

Complete source facts

signature

typedef void (*ExplainOneQuery_hook_type) (Query *query, int cursorOptions, IntoClause *into, struct ExplainState *es, const char *queryString, ParamListInfo params, QueryEnvironment *queryEnv);
extern PGDLLIMPORT ExplainOneQuery_hook_type ExplainOneQuery_hook;

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd