Skip to content

Commit

Permalink
manually move 0c62e04 from PR #1616 to this branch.
Browse files Browse the repository at this point in the history
(cherry-picking that commit caused a number of conflicts due to other drift in the develop branch)
  • Loading branch information
eeeebbbbrrrr committed Apr 19, 2024
1 parent 2244e62 commit b19981b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pgrx-macros/src/rewriter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ impl PgGuardRewriter {
let return_type = PgGuardRewriter::get_return_type(&func.sig);

Ok(quote! {
#[inline]
#[track_caller]
pub unsafe fn #func_name ( #arg_list_with_types ) #return_type {
crate::ffi::pg_guard_ffi_boundary(move || {
Expand Down

0 comments on commit b19981b

Please sign in to comment.