Module postgres_protocol::types
source · Expand description
Conversions to and from Postgres’s binary format for various types.
Structs§
- A Postgres array.
- Information about a dimension of an array.
- An iterator over the dimensions of an array.
- An iterator over the values of an array, in row-major order.
- A Postgres box.
- A fallible iterator over
HSTORE
entries. - A Postgres network address.
- A Postgres point.
- An iterator over the points of a Postgres path.
- A Postgres point.
- A
VARBIT
value.
Enums§
- A Postgres range.
- One side of a range.
Functions§
- Deserializes an array value.
- Serializes an array value.
- Deserializes a
BOOL
value. - Serializes a
BOOL
value. - Deserializes a box value.
- Serializes a box value.
- Deserializes a `BYTEA value.
- Serializes a
BYTEA
value. - Deserializes a
"char"
value. - Serializes a
"char"
value. - Deserializes a
DATE
value. - Serializes a
DATE
value. - Serializes an empty range.
- Deserializes a
FLOAT4
value. - Serializes a
FLOAT4
value. - Deserializes a
FLOAT8
value. - Serializes a
FLOAT8
value. - Deserializes an
HSTORE
value. - Serializes an
HSTORE
value. - Deserializes a Postgres inet.
- Serializes a Postgres inet.
- Deserializes an
INT2
value. - Serializes an
INT2
value. - Deserializes an
INT4
value. - Serializes an
INT4
value. - Deserializes an
INT8
value. - Serializes an
INT8
value. - Deserialize a Postgres lquery string
- Serializes a Postgres lquery string
- Deserializes a
PG_LSN
value. - Serializes a
PG_LSN
value. - Deserialize a Postgres ltree string
- Serializes a Postgres ltree string
- Deserialize a Postgres ltxtquery string
- Serializes a Postgres ltxtquery string
- Deserializes a
MACADDR
value. - Serializes a
MACADDR
value. - Deserializes an
OID
value. - Serializes an
OID
value. - Deserializes a Postgres path.
- Serializes a Postgres path.
- Deserializes a point value.
- Serializes a point value.
- Deserializes a range value.
- Serializes a range value.
- Deserializes a
TEXT
,VARCHAR
,CHAR(n)
,NAME
, orCITEXT
value. - Serializes a
TEXT
,VARCHAR
,CHAR(n)
,NAME
, orCITEXT
value. - Deserializes a
TIME
orTIMETZ
value. - Serializes a
TIME
orTIMETZ
value. - Deserializes a
TIMESTAMP
orTIMESTAMPTZ
value. - Serializes a
TIMESTAMP
orTIMESTAMPTZ
value. - Deserializes a
UUID
value. - Serializes a
UUID
value. - Deserializes a
VARBIT
orBIT
value. - Serializes a
VARBIT
orBIT
value.