In a model based on the PostgreSQL target server, use the PostgreSQL tab in the Table Column Editor to manage the data type, null option, and other properties for the selected column.
Note: The options described here are the basic options available for most physical data types. These options may vary depending on the physical data type you assign to the table column. Refer to the PostgreSQL documentation for more information on using these properties.
To define PostgreSQL table column properties
The PostgreSQL Table Column Editor opens.
Note: Click New on the toolbar to create a new column. Use the Enter filter text box to filter a very large list of columns to quickly locate the one that you want to define.
Specifies the physical name of the column. You can change the name of the column in this field.
Specifies the domain parent of the column. Select the domain parent from the drop-down list.
Specifies the physical data type for the selected column. Select a physical data type from the drop-down list.
Specifies to designate the selected column as a primary key column. Select the check box to enable this option.
Specifies whether the column is suppressed from a logical model (as an attribute) and appears in a physical model only.
Specifies to designate the selected column as a foreign key column. Select the check box to enable this option.
Specifies a collation that is to be assigned to the column (which must be of a collatable data type). If not specified, the column data type's default collation is used. Select an existing collation from the drop-down list or click New to create one.
Specifies a default data value for the column. The value is any variable-free expression. The data type of the default expression must match the data type of the column.
Specifies the storage mode for the column. Select one of the following:
Used for fixed-length values such as integer and is in-line, uncompressed.
Used for for external, uncompressed data.
Used for external, compressed data.
Used for for in-line, compressible data.
Creates a typed column, which takes its structure from the specified composite type. A typed column is tied to its type. Select an existing user-defined type from the drop-down list or click New to create one.
The table column properties are defined and the PostgreSQL Table Column Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|