Module pgrx::datum::numeric

source ·

Re-exports

  • pub use crate::numeric_support::error::Error;

Structs

  • A plain Postgres SQL NUMERIC with default precision and scale values. This is a sufficient type to represent any Rust primitive value from i128::MIN to u128::MAX and anything in between.
  • A wrapper around the Postgres SQL NUMERIC(P, S) type. Its Precision and Scale values are known at compile-time to assist with scale conversions and general type safety.

Enums