Function pgrx::initialize

source ·
pub fn initialize()
Expand description

Initialize the extension with Postgres

Sets up panic handling with [register_pg_guard_panic_hook()] to ensure that a crash within the extension does not adversely affect the entire server process.

§Note

This is called automatically by the pg_module_magic!() macro and need not be called directly.