From 074bcd7139309f003b76859e91d8c8dd1576d740 Mon Sep 17 00:00:00 2001 From: Manni Wood Date: Sat, 3 Sep 2016 18:30:36 -0400 Subject: [PATCH] Adds docs for Oid type. --- messages.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/messages.go b/messages.go index c158d5d2..fec34dbb 100644 --- a/messages.go +++ b/messages.go @@ -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 {