Composite
Represents a PostgreSQL composite type (row type).
Every relation has one of these - a table, a view, a materialized view - carrying that relation's columns under the relation's own name, and relationOid is what ties the two together.
Constructors
Properties
A list of the names of the attributes in the composite type, in declaration order.
The attribute number of each attribute, in the same order as attributes. Not the index plus one: a dropped column keeps its number for good, leaving a hole that everything declared after it sits behind.
A list of the OIDs of the attributes in the composite type, in declaration order.
A map of attribute names to their respective OIDs, preserving declaration order.
A mapping from attribute name to its zero-based index in the composite type.
The OID of the relation this type describes (pg_class.oid), which for a type declared with CREATE TYPE ... AS (...) is the entry PostgreSQL creates to hold its attributes.
Functions
Returns the name of the attribute carrying attributeNumber, or null when this type has no attribute under that number - a dropped column's, a system column's, or any number at all for a type loaded without them.