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.
()
| 1107 | // various Postgres catalog tables, functions like pg_typeof, etc. Maintaining |
| 1108 | // the OID is required for Postgres-compatibility. |
| 1109 | func (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, |
no outgoing calls
no test coverage detected