Skip to main content

array_oid

Function array_oid 

pub const fn array_oid(elem: u32) -> Option<u32>
Expand description

Returns the array type OID for the given element type.

Returns None for a type that has no array counterpart here (for example interval before it was added, or any extension type): silently claiming int4[] would make the server interpret the values as the wrong type.