Add jsonb oids

This commit is contained in:
Steven Fackler 2014-12-22 21:04:13 -05:00
parent 01ea8afce8
commit 2b1b9c1449

View File

@ -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"]