Documentation ¶
Overview ¶
Package oid contains OID constants as defined by the Postgres server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeName = map[Oid]string{ T_bool: "BOOL", T_bytea: "BYTEA", T_char: "CHAR", T_name: "NAME", T_int8: "INT8", T_int2: "INT2", T_int2vector: "INT2VECTOR", T_int4: "INT4", T_regproc: "REGPROC", T_text: "TEXT", T_oid: "OID", T_tid: "TID", T_xid: "XID", T_cid: "CID", T_oidvector: "OIDVECTOR", T_smgr: "SMGR", T_float4: "FLOAT4", T_float8: "FLOAT8", T_abstime: "ABSTIME", T_unknown: "UNKNOWN", T__int4: "_INT4", T_bpchar: "BPCHAR", T_varchar: "VARCHAR", T_date: "DATE", T_time: "TIME", T_timestamp: "TIMESTAMP", T_interval: "INTERVAL", T_timetz: "TIMETZ", T_numeric: "NUMERIC", T_int1: "INT1", T_nchar: "NCHAR", T_nvarchar: "NVARCHAR", T_st_geometry: "ST_GEOMETRY", T_varbinary: "VARBINARY", T_unkbinary: "UNKBINARY", T_json: "JSON", T_jsonb: "JSONB", T_jsonpath: "JSONPATH", }
Functions ¶
This section is empty.
Types ¶
type Oid ¶
type Oid uint32
Oid is a Postgres Object ID.
const ( T_bool Oid = 16 T_bytea Oid = 17 T_char Oid = 18 T_name Oid = 19 T_int8 Oid = 20 T_int2 Oid = 21 T_int2vector Oid = 22 T_int4 Oid = 23 T_regproc Oid = 24 T_text Oid = 25 T_oid Oid = 26 T_tid Oid = 27 T_xid Oid = 28 T_cid Oid = 29 T_oidvector Oid = 30 T_smgr Oid = 210 T_float4 Oid = 700 T_float8 Oid = 701 T_abstime Oid = 702 T_unknown Oid = 705 T__int4 Oid = 1007 T_bpchar Oid = 1042 T_varchar Oid = 1043 T_date Oid = 1082 T_time Oid = 1083 T_timestamp Oid = 1184 T_interval Oid = 1186 T_timetz Oid = 1266 T_numeric Oid = 1700 T_int1 Oid = 2500 T_nchar Oid = 2522 T_nvarchar Oid = 2530 T_st_geometry Oid = 2552 T_varbinary Oid = 2568 T_unkbinary Oid = 2569 T_json Oid = 2652 T_jsonb Oid = 2653 T_jsonpath Oid = 2654 )
Click to show internal directories.
Click to hide internal directories.