From 9ed73d59421adf6ddb115960cd30f479d3b5ae7b Mon Sep 17 00:00:00 2001 From: Smitty Date: Thu, 3 Oct 2024 14:13:03 -0400 Subject: [PATCH] Implement UnboxDatum for ItemPointerData (#1900) `ItemPointerData` can be directly converted from a Datum, so `ItemPointerData` should have it implemented. --- pgrx/src/datum/unbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgrx/src/datum/unbox.rs b/pgrx/src/datum/unbox.rs index 5a03c47a4d..08f85679aa 100644 --- a/pgrx/src/datum/unbox.rs +++ b/pgrx/src/datum/unbox.rs @@ -289,7 +289,7 @@ macro_rules! unbox_with_fromdatum { } unbox_with_fromdatum! { - TimeWithTimeZone, AnyNumeric, char, pg_sys::Point, Interval, pg_sys::BOX, + TimeWithTimeZone, AnyNumeric, char, pg_sys::Point, Interval, pg_sys::BOX, pg_sys::ItemPointerData, } unsafe impl UnboxDatum for PgHeapTuple<'_, crate::AllocatedByRust> {