Macro pgx::pg_module_magic
source · [−]macro_rules! pg_module_magic {
() => { ... };
}
Expand description
A macro for marking a library compatible with pgx
.
Note: Every
pgx
extension must have this macro called at top level (usuallysrc/lib.rs
) to be valid.
This calls both pg_magic_func!()
and pg_sql_graph_magic!()
.