Skip to content

Commit 262ddec

Browse files
Remove variadic! macro (pgcentralfoundation#2171)
Closes out the promise of pgcentralfoundation#1713
1 parent fed50a2 commit 262ddec

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

pgrx/src/aggregate.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ where
342342
/// For multiple arguments, provide a tuple.
343343
///
344344
/// Use [`pgrx::name!()`](crate::name) to set the SQL name of the argument.
345-
///
346-
/// If the final argument is to be variadic, use [`pgrx::variadic`](crate::variadic). When used
347-
/// with [`pgrx::name!()`](crate::name), it must be used **inside** the [`pgrx::name!()`](crate::name) macro.
348345
type Args;
349346

350347
/// The types of the direct argument(s) to an ordered-set aggregate's `finalize`.

pgrx/src/fcinfo.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ macro_rules! name {
8282
};
8383
}
8484

85-
#[deprecated(since = "0.12.0", note = "try VariadicArray")]
86-
#[macro_export]
87-
macro_rules! variadic {
88-
($ty:ty) => {
89-
$ty
90-
};
91-
}
92-
9385
/// Get a numbered argument for a `PG_FUNCTION_INFO_V1` function as the specified Rust type.
9486
///
9587
/// # Safety

0 commit comments

Comments
 (0)