8.16. Composite Types
8.16.复合类型
composite type represents the structure of a row or record; it is essentially just a list of field names and their data types. PostgreSQL allows composite types to be used in many of the same ways that simple types can be used. For example, a column of a table can be declared to be of a composite type.
复合类型表示行或记录的结构; 它实际上只是字段名称及其数据类型的列表。 PostgreSQL允许以与使用简单类型许多相同的方式来使用复合类型。 例如,表的一列可以声明为复合类型。