PostgreSQL User Attributes

Readers: For information on the parameters in this dialog that are common to all readers, see:

Writers: For information on the parameters in this dialog that are common to all writers, see:

User attributes for this format are defined below.

Name

The name of the column to be written.

Valid values for column name include any character string that contains valid SQL characters, and is less than 32 characters in length.

Type

The type of a column in a table. The valid values for the column type are listed below:

Index

The type of index to create on the given column. All index types are fully dynamic and do not have to be optimized periodically. The valid values for the index type are listed below:

  • BTree: This type of index is an implementation of Lehman-Yao high-concurrency B-trees. Only this type supports multi-column indexes. Up to 16 keys may be specified by default.
  • RTree: This type of index is an implementation of standard R-trees using Guttman’s quadratic split algorithm.
  • Hash: This type of index is an implementation of Litwin’s linear hashing.
  • PrimaryKey: This type of index specifies that the column is a primary key. The values in this column cannot be NULL.
  • UniqueKey: This type of index specifies that the column is a unique key. Any values in this column may also be NULL Currently, this only creates individual keys as opposed to composite unique keys.