↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Hooks

get_relation_info_hook

Hook for plugins to get control in get_relation_info()

Reading PG 18·Select a recorded version

Interface type
get_relation_info_hook_type
Header
src/include/optimizer/plancat.h
Subsystem
Query planning
Initial value
NULL (no hook installed)
signature
typedef void (*get_relation_info_hook_type) (PlannerInfo *root, Oid relationObjectId, bool inhparent, RelOptInfo *rel); extern PGDLLIMPORT get_relation_info_hook_type get_relation_info_hook;

Definition PG 18

Hook for plugins to get control in get_relation_info()

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd