Adds docs for Oid type.

pull/174/head
Manni Wood 2016-09-03 18:30:36 -04:00
parent 99bfc154f0
commit 074bcd7139
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ func (s *startupMessage) Bytes() (buf []byte) {
return buf
}
// Oid (Object Identifier Type) is, according to https://www.postgresql.org/docs/current/static/datatype-oid.html,
// used internally by PostgreSQL as a primary key for various system tables. It is currently implemented
// as an unsigned four-byte integer. Its definition can be found in src/include/postgres_ext.h
// in the PostgreSQL sources.
type Oid uint32
type FieldDescription struct {