Macro pg_module_magic

Source
macro_rules! pg_module_magic {
    ($($key:ident $(= $value:expr)?),*) => { ... };
}
Expand description

A macro for marking a library compatible with pgrx.

Note: Every pgrx extension must have this macro called at top level (usually src/lib.rs) to be valid. You can use pg_module_magic!(), pg_module_magic!(name, version) or pg_module_magic!(name = c"custom_name", version = c"1.0.0")

This calls pg_magic_func!().