[prev] 67 [next]

Database Objects (cont)

Side-note:   PostgreSQL tuples contain
  • owner-specified attributes (from create table)
  • system-defined attributes

    oid unique identifying number for tuple (optional)
    tableoid which table this tuple belongs to
    xmin/xmax which transaction created/deleted tuple (for MVCC)

OIDs are used as primary keys in many of the catalog tables.