fully qualify the path to #[pg_guard]
@@ -63,7 +63,7 @@ impl PgTrigger {
);
let tokens = quote! {
#[no_mangle]
- #[::pgx::pg_guard]
+ #[::pgx::pgx_macros::pg_guard]
extern "C" fn #extern_func_ident(fcinfo: ::pgx::pg_sys::FunctionCallInfo) -> ::pgx::pg_sys::Datum {
let maybe_pg_trigger = unsafe { ::pgx::trigger_support::PgTrigger::from_fcinfo(fcinfo) };
let pg_trigger = maybe_pg_trigger.expect("PgTrigger::from_fcinfo failed");
