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允許以與使用簡單類型許多相同的方式來使用複合類型。 例如,表的一列可以聲明爲複合類型。

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