8.16. Composite Types

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允许以与使用简单类型许多相同的方式来使用复合类型。 例如,表的一列可以声明为复合类型。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章