Skip to content

Commit

Permalink
Implement UnboxDatum for ItemPointerData (#1900)
Browse files Browse the repository at this point in the history
`ItemPointerData` can be directly converted from a Datum, so
`ItemPointerData` should have it implemented.
  • Loading branch information
syvb authored Oct 3, 2024
1 parent 4922104 commit 9ed73d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgrx/src/datum/unbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 9ed73d5

Please sign in to comment.