Expand description
The attribute checks of DefineCompositeType in PostgreSQL’s order: MergeAttributes rejects too many attributes and then a repeated name, BuildDescForRelation resolves each attribute’s type, requires USAGE on it, derives its collation and rejects SETOF, and CheckAttributeNamesTypes then rejects pseudo-types.
Constants§
- MAX_
ATTRIBUTES MaxHeapAttributeNumber.
Functions§
- builtin_
collation_ oid - The
pg_collationOID of a built-in collation name. - prepare_
added_ attribute ATExecAddColumnfor a composite relation, after its owner and kind have been checked.- prepare_
composite_ attributes - Check and bind the declared attributes of a new composite type, numbering them from one.
- type_
is_ collatable - Whether values of a type carry a collation.