Skip to content

Commit

Permalink
Deprecate pgrx::hooks without replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Aug 20, 2024
1 parent 2c1d388 commit a217272
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pgrx/src/hooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
//! A trait and registration system for hooking Postgres internal operations such as its planner and executor
#![allow(clippy::unit_arg)]
#![deprecated(
since = "0.12.1",
note = "currently always UB, use FFI + pointers to `static UnsafeCell`"
)]
use crate as pgrx; // for #[pg_guard] support from within ourself
use crate::prelude::*;
use crate::{void_mut_ptr, PgList};
Expand Down

0 comments on commit a217272

Please sign in to comment.