↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Hooks

emit_log_hook

Hook for intercepting messages before they are sent to the server log

Reading PG 18·Select a recorded version

Interface type
emit_log_hook_type
Header
src/include/utils/elog.h
Subsystem
Logging and function calls
Initial value
NULL (no hook installed)
signature
typedef void (*emit_log_hook_type) (ErrorData *edata); extern PGDLLIMPORT emit_log_hook_type emit_log_hook;

Definition PG 18

Hook for intercepting messages before they are sent to the server log

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd