Modulesยง
- error
- Error types for decoding wire-format values and for fallible conversion
from
super::Valuetomz_repr::Datum. - interval
- jsonb
- numeric
- record
- unsigned
Structsยง
- Text
Encode Settings - Session settings that affect how values are encoded as text.
Enumsยง
- Value
- A PostgreSQL datum.
Constantsยง
- FLOA
T4_ ๐DIGITS - The number of significant decimal digits that survive a round trip through
f32andf64respectively. - FLOA
T8_ ๐DIGITS
Functionsยง
- decode_
binary_ ๐string - Decodes a binary-format string value, rejecting embedded NUL characters.
- encode_
element ๐ - format_
float_ ๐limited - Formats
fwithndigsignificant digits like Cโs%.*g, mirroring PostgreSQLโsfloat4out/float8outwhenextra_float_digitsis zero or negative. Like PostgreSQL,ndigvalues below 1 are clamped to 1, and non-finite values are spelledNaN,Infinity, and-Infinity. - pg_len ๐
- reject_
nul ๐ - Returns an error if
scontains a NUL character, which PostgreSQL rejects in text values. - rescale_
numeric ๐ - Rescales
nto the scale required byconstraints, if any. - values_
from_ row - Converts a Materialize row into a vector of PostgreSQL values.