↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Hooks

get_attavgwidth_hook

Hook for plugins to get control in get_attavgwidth()

Reading PG 18·Select a recorded version

Interface type
get_attavgwidth_hook_type
Header
src/include/utils/lsyscache.h
Subsystem
Statistics and estimation
Initial value
NULL (no hook installed)
signature
typedef int32 (*get_attavgwidth_hook_type) (Oid relid, AttrNumber attnum); extern PGDLLIMPORT get_attavgwidth_hook_type get_attavgwidth_hook;

Definition PG 18

Hook for plugins to get control in get_attavgwidth()

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd