MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Oid

Method Oid

postgres/parser/types/types.go:1109–1111  ·  view source on GitHub ↗

Oid returns the type's Postgres Object ID. The OID identifies the type more specifically than the type family, and is used by the Postgres wire protocol various Postgres catalog tables, functions like pg_typeof, etc. Maintaining the OID is required for Postgres-compatibility.

()

Source from the content-addressed store, hash-verified

1107// various Postgres catalog tables, functions like pg_typeof, etc. Maintaining
1108// the OID is required for Postgres-compatibility.
1109func (t *T) Oid() oid.Oid {
1110 return t.InternalType.Oid
1111}
1112
1113// Locale identifies a specific geographical, political, or cultural region that
1114// impacts various character-based operations such as sorting, pattern matching,

Callers 15

UserDefinedMethod · 0.95
NameMethod · 0.95
PGNameMethod · 0.95
SQLStringMethod · 0.95
EquivalentMethod · 0.95
downgradeTypeMethod · 0.95
StringMethod · 0.95
IsAmbiguousMethod · 0.95
stringTypeSQLMethod · 0.95
oidext.goFile · 0.80
UnmarshalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected