pub struct Type(/* private fields */);
Expand description
A Postgres type.
Implementations§
Source§impl Type
impl Type
Sourcepub const INT2_VECTOR: Type = _
pub const INT2_VECTOR: Type = _
INT2VECTOR - array of int2, used in system tables
Sourcepub const OID_VECTOR: Type = _
pub const OID_VECTOR: Type = _
OIDVECTOR - array of oids, used in system tables
Sourcepub const PG_DDL_COMMAND: Type = _
pub const PG_DDL_COMMAND: Type = _
PG_DDL_COMMAND - internal type for passing CollectedCommand
Sourcepub const PG_NODE_TREE: Type = _
pub const PG_NODE_TREE: Type = _
PG_NODE_TREE - string representing an internal node tree
Sourcepub const JSON_ARRAY: Type = _
pub const JSON_ARRAY: Type = _
JSON[]
Sourcepub const TABLE_AM_HANDLER: Type = _
pub const TABLE_AM_HANDLER: Type = _
TABLE_AM_HANDLER
Sourcepub const XID8_ARRAY: Type = _
pub const XID8_ARRAY: Type = _
XID8[]
Sourcepub const INDEX_AM_HANDLER: Type = _
pub const INDEX_AM_HANDLER: Type = _
INDEX_AM_HANDLER - pseudo-type for the result of an index AM handler function
Sourcepub const LINE_ARRAY: Type = _
pub const LINE_ARRAY: Type = _
LINE[]
Sourcepub const CIDR_ARRAY: Type = _
pub const CIDR_ARRAY: Type = _
CIDR[]
Sourcepub const CIRCLE_ARRAY: Type = _
pub const CIRCLE_ARRAY: Type = _
CIRCLE[]
Sourcepub const MACADDR8_ARRAY: Type = _
pub const MACADDR8_ARRAY: Type = _
MACADDR8[]
Sourcepub const MONEY_ARRAY: Type = _
pub const MONEY_ARRAY: Type = _
MONEY[]
Sourcepub const BOOL_ARRAY: Type = _
pub const BOOL_ARRAY: Type = _
BOOL[]
Sourcepub const BYTEA_ARRAY: Type = _
pub const BYTEA_ARRAY: Type = _
BYTEA[]
Sourcepub const CHAR_ARRAY: Type = _
pub const CHAR_ARRAY: Type = _
CHAR[]
Sourcepub const NAME_ARRAY: Type = _
pub const NAME_ARRAY: Type = _
NAME[]
Sourcepub const INT2_ARRAY: Type = _
pub const INT2_ARRAY: Type = _
INT2[]
Sourcepub const INT2_VECTOR_ARRAY: Type = _
pub const INT2_VECTOR_ARRAY: Type = _
INT2VECTOR[]
Sourcepub const INT4_ARRAY: Type = _
pub const INT4_ARRAY: Type = _
INT4[]
Sourcepub const REGPROC_ARRAY: Type = _
pub const REGPROC_ARRAY: Type = _
REGPROC[]
Sourcepub const TEXT_ARRAY: Type = _
pub const TEXT_ARRAY: Type = _
TEXT[]
Sourcepub const OID_VECTOR_ARRAY: Type = _
pub const OID_VECTOR_ARRAY: Type = _
OIDVECTOR[]
Sourcepub const BPCHAR_ARRAY: Type = _
pub const BPCHAR_ARRAY: Type = _
BPCHAR[]
Sourcepub const VARCHAR_ARRAY: Type = _
pub const VARCHAR_ARRAY: Type = _
VARCHAR[]
Sourcepub const INT8_ARRAY: Type = _
pub const INT8_ARRAY: Type = _
INT8[]
Sourcepub const POINT_ARRAY: Type = _
pub const POINT_ARRAY: Type = _
POINT[]
Sourcepub const LSEG_ARRAY: Type = _
pub const LSEG_ARRAY: Type = _
LSEG[]
Sourcepub const PATH_ARRAY: Type = _
pub const PATH_ARRAY: Type = _
PATH[]
Sourcepub const FLOAT4_ARRAY: Type = _
pub const FLOAT4_ARRAY: Type = _
FLOAT4[]
Sourcepub const FLOAT8_ARRAY: Type = _
pub const FLOAT8_ARRAY: Type = _
FLOAT8[]
Sourcepub const POLYGON_ARRAY: Type = _
pub const POLYGON_ARRAY: Type = _
POLYGON[]
Sourcepub const ACLITEM_ARRAY: Type = _
pub const ACLITEM_ARRAY: Type = _
ACLITEM[]
Sourcepub const MACADDR_ARRAY: Type = _
pub const MACADDR_ARRAY: Type = _
MACADDR[]
Sourcepub const INET_ARRAY: Type = _
pub const INET_ARRAY: Type = _
INET[]
Sourcepub const VARCHAR: Type = _
pub const VARCHAR: Type = _
VARCHAR - varchar(length), non-blank-padded string, variable storage length
Sourcepub const TIMESTAMP_ARRAY: Type = _
pub const TIMESTAMP_ARRAY: Type = _
TIMESTAMP[]
Sourcepub const DATE_ARRAY: Type = _
pub const DATE_ARRAY: Type = _
DATE[]
Sourcepub const TIME_ARRAY: Type = _
pub const TIME_ARRAY: Type = _
TIME[]
Sourcepub const TIMESTAMPTZ: Type = _
pub const TIMESTAMPTZ: Type = _
TIMESTAMPTZ - date and time with time zone
Sourcepub const TIMESTAMPTZ_ARRAY: Type = _
pub const TIMESTAMPTZ_ARRAY: Type = _
TIMESTAMPTZ[]
Sourcepub const INTERVAL_ARRAY: Type = _
pub const INTERVAL_ARRAY: Type = _
INTERVAL[]
Sourcepub const NUMERIC_ARRAY: Type = _
pub const NUMERIC_ARRAY: Type = _
NUMERIC[]
Sourcepub const CSTRING_ARRAY: Type = _
pub const CSTRING_ARRAY: Type = _
CSTRING[]
Sourcepub const TIMETZ_ARRAY: Type = _
pub const TIMETZ_ARRAY: Type = _
TIMETZ[]
Sourcepub const VARBIT_ARRAY: Type = _
pub const VARBIT_ARRAY: Type = _
VARBIT[]
Sourcepub const REFCURSOR_ARRAY: Type = _
pub const REFCURSOR_ARRAY: Type = _
REFCURSOR[]
Sourcepub const REGPROCEDURE: Type = _
pub const REGPROCEDURE: Type = _
REGPROCEDURE - registered procedure (with args)
Sourcepub const REGOPERATOR: Type = _
pub const REGOPERATOR: Type = _
REGOPERATOR - registered operator (with args)
Sourcepub const REGPROCEDURE_ARRAY: Type = _
pub const REGPROCEDURE_ARRAY: Type = _
REGPROCEDURE[]
Sourcepub const REGOPER_ARRAY: Type = _
pub const REGOPER_ARRAY: Type = _
REGOPER[]
Sourcepub const REGOPERATOR_ARRAY: Type = _
pub const REGOPERATOR_ARRAY: Type = _
REGOPERATOR[]
Sourcepub const REGCLASS_ARRAY: Type = _
pub const REGCLASS_ARRAY: Type = _
REGCLASS[]
Sourcepub const REGTYPE_ARRAY: Type = _
pub const REGTYPE_ARRAY: Type = _
REGTYPE[]
Sourcepub const LANGUAGE_HANDLER: Type = _
pub const LANGUAGE_HANDLER: Type = _
LANGUAGE_HANDLER - pseudo-type for the result of a language handler function
Sourcepub const ANYELEMENT: Type = _
pub const ANYELEMENT: Type = _
ANYELEMENT - pseudo-type representing a polymorphic base type
Sourcepub const RECORD_ARRAY: Type = _
pub const RECORD_ARRAY: Type = _
RECORD[]
Sourcepub const ANYNONARRAY: Type = _
pub const ANYNONARRAY: Type = _
ANYNONARRAY - pseudo-type representing a polymorphic base type that is not an array
Sourcepub const TXID_SNAPSHOT_ARRAY: Type = _
pub const TXID_SNAPSHOT_ARRAY: Type = _
TXID_SNAPSHOT[]
Sourcepub const UUID_ARRAY: Type = _
pub const UUID_ARRAY: Type = _
UUID[]
Sourcepub const TXID_SNAPSHOT: Type = _
pub const TXID_SNAPSHOT: Type = _
TXID_SNAPSHOT - txid snapshot
Sourcepub const FDW_HANDLER: Type = _
pub const FDW_HANDLER: Type = _
FDW_HANDLER - pseudo-type for the result of an FDW handler function
Sourcepub const PG_LSN_ARRAY: Type = _
pub const PG_LSN_ARRAY: Type = _
PG_LSN[]
Sourcepub const TSM_HANDLER: Type = _
pub const TSM_HANDLER: Type = _
TSM_HANDLER - pseudo-type for the result of a tablesample method function
Sourcepub const PG_NDISTINCT: Type = _
pub const PG_NDISTINCT: Type = _
PG_NDISTINCT - multivariate ndistinct coefficients
Sourcepub const PG_DEPENDENCIES: Type = _
pub const PG_DEPENDENCIES: Type = _
PG_DEPENDENCIES - multivariate dependencies
Sourcepub const ANYENUM: Type = _
pub const ANYENUM: Type = _
ANYENUM - pseudo-type representing a polymorphic base type that is an enum
Sourcepub const GTS_VECTOR: Type = _
pub const GTS_VECTOR: Type = _
GTSVECTOR - GiST index internal text representation for text search
Sourcepub const TS_VECTOR_ARRAY: Type = _
pub const TS_VECTOR_ARRAY: Type = _
TSVECTOR[]
Sourcepub const GTS_VECTOR_ARRAY: Type = _
pub const GTS_VECTOR_ARRAY: Type = _
GTSVECTOR[]
Sourcepub const TSQUERY_ARRAY: Type = _
pub const TSQUERY_ARRAY: Type = _
TSQUERY[]
Sourcepub const REGCONFIG_ARRAY: Type = _
pub const REGCONFIG_ARRAY: Type = _
REGCONFIG[]
Sourcepub const REGDICTIONARY: Type = _
pub const REGDICTIONARY: Type = _
REGDICTIONARY - registered text search dictionary
Sourcepub const REGDICTIONARY_ARRAY: Type = _
pub const REGDICTIONARY_ARRAY: Type = _
REGDICTIONARY[]
Sourcepub const JSONB_ARRAY: Type = _
pub const JSONB_ARRAY: Type = _
JSONB[]
Sourcepub const ANY_RANGE: Type = _
pub const ANY_RANGE: Type = _
ANYRANGE - pseudo-type representing a range over a polymorphic base type
Sourcepub const EVENT_TRIGGER: Type = _
pub const EVENT_TRIGGER: Type = _
EVENT_TRIGGER - pseudo-type for the result of an event trigger function
Sourcepub const INT4_RANGE: Type = _
pub const INT4_RANGE: Type = _
INT4RANGE - range of integers
Sourcepub const INT4_RANGE_ARRAY: Type = _
pub const INT4_RANGE_ARRAY: Type = _
INT4RANGE[]
Sourcepub const NUM_RANGE_ARRAY: Type = _
pub const NUM_RANGE_ARRAY: Type = _
NUMRANGE[]
Sourcepub const TS_RANGE_ARRAY: Type = _
pub const TS_RANGE_ARRAY: Type = _
TSRANGE[]
Sourcepub const TSTZ_RANGE: Type = _
pub const TSTZ_RANGE: Type = _
TSTZRANGE - range of timestamps with time zone
Sourcepub const TSTZ_RANGE_ARRAY: Type = _
pub const TSTZ_RANGE_ARRAY: Type = _
TSTZRANGE[]
Sourcepub const DATE_RANGE: Type = _
pub const DATE_RANGE: Type = _
DATERANGE - range of dates
Sourcepub const DATE_RANGE_ARRAY: Type = _
pub const DATE_RANGE_ARRAY: Type = _
DATERANGE[]
Sourcepub const INT8_RANGE: Type = _
pub const INT8_RANGE: Type = _
INT8RANGE - range of bigints
Sourcepub const INT8_RANGE_ARRAY: Type = _
pub const INT8_RANGE_ARRAY: Type = _
INT8RANGE[]
Sourcepub const JSONPATH_ARRAY: Type = _
pub const JSONPATH_ARRAY: Type = _
JSONPATH[]
Sourcepub const REGNAMESPACE: Type = _
pub const REGNAMESPACE: Type = _
REGNAMESPACE - registered namespace
Sourcepub const REGNAMESPACE_ARRAY: Type = _
pub const REGNAMESPACE_ARRAY: Type = _
REGNAMESPACE[]
Sourcepub const REGROLE_ARRAY: Type = _
pub const REGROLE_ARRAY: Type = _
REGROLE[]
Sourcepub const REGCOLLATION: Type = _
pub const REGCOLLATION: Type = _
REGCOLLATION - registered collation
Sourcepub const REGCOLLATION_ARRAY: Type = _
pub const REGCOLLATION_ARRAY: Type = _
REGCOLLATION[]
Sourcepub const INT4MULTI_RANGE: Type = _
pub const INT4MULTI_RANGE: Type = _
INT4MULTIRANGE - multirange of integers
Sourcepub const NUMMULTI_RANGE: Type = _
pub const NUMMULTI_RANGE: Type = _
NUMMULTIRANGE - multirange of numerics
Sourcepub const TSMULTI_RANGE: Type = _
pub const TSMULTI_RANGE: Type = _
TSMULTIRANGE - multirange of timestamps without time zone
Sourcepub const TSTZMULTI_RANGE: Type = _
pub const TSTZMULTI_RANGE: Type = _
TSTZMULTIRANGE - multirange of timestamps with time zone
Sourcepub const DATEMULTI_RANGE: Type = _
pub const DATEMULTI_RANGE: Type = _
DATEMULTIRANGE - multirange of dates
Sourcepub const INT8MULTI_RANGE: Type = _
pub const INT8MULTI_RANGE: Type = _
INT8MULTIRANGE - multirange of bigints
Sourcepub const ANYMULTI_RANGE: Type = _
pub const ANYMULTI_RANGE: Type = _
ANYMULTIRANGE - pseudo-type representing a polymorphic base type that is a multirange
Sourcepub const ANYCOMPATIBLEMULTI_RANGE: Type = _
pub const ANYCOMPATIBLEMULTI_RANGE: Type = _
ANYCOMPATIBLEMULTIRANGE - pseudo-type representing a multirange over a polymorphic common type
Sourcepub const PG_BRIN_BLOOM_SUMMARY: Type = _
pub const PG_BRIN_BLOOM_SUMMARY: Type = _
PG_BRIN_BLOOM_SUMMARY - BRIN bloom summary
Sourcepub const PG_BRIN_MINMAX_MULTI_SUMMARY: Type = _
pub const PG_BRIN_MINMAX_MULTI_SUMMARY: Type = _
PG_BRIN_MINMAX_MULTI_SUMMARY - BRIN minmax-multi summary
Sourcepub const PG_MCV_LIST: Type = _
pub const PG_MCV_LIST: Type = _
PG_MCV_LIST - multivariate MCV list
Sourcepub const PG_SNAPSHOT: Type = _
pub const PG_SNAPSHOT: Type = _
PG_SNAPSHOT - snapshot
Sourcepub const PG_SNAPSHOT_ARRAY: Type = _
pub const PG_SNAPSHOT_ARRAY: Type = _
PG_SNAPSHOT[]
Sourcepub const ANYCOMPATIBLE: Type = _
pub const ANYCOMPATIBLE: Type = _
ANYCOMPATIBLE - pseudo-type representing a polymorphic common type
Sourcepub const ANYCOMPATIBLEARRAY: Type = _
pub const ANYCOMPATIBLEARRAY: Type = _
ANYCOMPATIBLEARRAY - pseudo-type representing an array of polymorphic common type elements
Sourcepub const ANYCOMPATIBLENONARRAY: Type = _
pub const ANYCOMPATIBLENONARRAY: Type = _
ANYCOMPATIBLENONARRAY - pseudo-type representing a polymorphic common type that is not an array
Sourcepub const ANYCOMPATIBLE_RANGE: Type = _
pub const ANYCOMPATIBLE_RANGE: Type = _
ANYCOMPATIBLERANGE - pseudo-type representing a range over a polymorphic common type
Sourcepub const INT4MULTI_RANGE_ARRAY: Type = _
pub const INT4MULTI_RANGE_ARRAY: Type = _
INT4MULTIRANGE[]
Sourcepub const NUMMULTI_RANGE_ARRAY: Type = _
pub const NUMMULTI_RANGE_ARRAY: Type = _
NUMMULTIRANGE[]
Sourcepub const TSMULTI_RANGE_ARRAY: Type = _
pub const TSMULTI_RANGE_ARRAY: Type = _
TSMULTIRANGE[]
Sourcepub const TSTZMULTI_RANGE_ARRAY: Type = _
pub const TSTZMULTI_RANGE_ARRAY: Type = _
TSTZMULTIRANGE[]
Sourcepub const DATEMULTI_RANGE_ARRAY: Type = _
pub const DATEMULTI_RANGE_ARRAY: Type = _
DATEMULTIRANGE[]
Sourcepub const INT8MULTI_RANGE_ARRAY: Type = _
pub const INT8MULTI_RANGE_ARRAY: Type = _
INT8MULTIRANGE[]