[][src]Attribute Macro pgx::pg_guard

#[pg_guard]

Declare a function as #[pg_guard] to indcate that it is called from a Postgres extern "C" function so that Rust panic!()s (and Postgres elog(ERROR)s) will be properly handled by pgx