Add jsonb oids
This commit is contained in:
parent
01ea8afce8
commit
2b1b9c1449
@ -268,6 +268,8 @@ const TIMESTAMPZOID: Oid = 1184;
|
||||
const TIMESTAMPZARRAYOID: Oid = 1185;
|
||||
const UUIDOID: Oid = 2950;
|
||||
const UUIDARRAYOID: Oid = 2951;
|
||||
const JSONBOID: Oid = 3802;
|
||||
const JSONBARRAYOID: Oid = 3807;
|
||||
const INT4RANGEOID: Oid = 3904;
|
||||
const INT4RANGEARRAYOID: Oid = 3905;
|
||||
const TSRANGEOID: Oid = 3908;
|
||||
@ -398,6 +400,10 @@ make_postgres_type! {
|
||||
UUIDOID => Uuid,
|
||||
#[doc="UUID[]"]
|
||||
UUIDARRAYOID => UuidArray member Uuid,
|
||||
#[doc="JSONB"]
|
||||
JSONBOID => Jsonb,
|
||||
#[doc="JSONB[]"]
|
||||
JSONBARRAYOID => JsonbArray member Jsonb,
|
||||
#[doc="CHAR(n)/CHARACTER(n)"]
|
||||
BPCHAROID => CharN,
|
||||
#[doc="VARCHAR/CHARACTER VARYING"]
|
||||
|
Loading…
Reference in New Issue
Block a user