Defining PostgreSQL Domains
The following properties are applicable to a PostgreSQL Domain object.
Tab |
Section |
Property |
Description |
Additional Information |
---|---|---|---|---|
|
|
Physical Name |
Specifies the physical name of the domain |
|
|
|
Domain Parent |
Lets you select a domain from the list and attach it to the selected domain as a parent. |
|
|
|
Physical Data Type |
Lets you select a data type from the drop-down list to apply to the selected domain. |
If the selected data type requires a value for precision, scale, or both, enter the value inside the data type parentheses. For example, you can select the DECIMAL() data type and specify a precision of 2 and a scale of 10 inside the parentheses to assign the data type DECIMAL(2,10) to the selected domain. |
|
|
Schema |
Specifies the schema of the database to which the domain belongs |
Select the schema from the drop-down list or click to create a new one |
|
|
Generate As Udd |
Specifies whether the selected domain is generated as a user-defined domain |
|
|
|
Physical Only |
Specifies that the selected domain is only available in the physical model |
|
General |
|
Domain Parent |
Lets you select a domain from the list to attach it to the selected domain as a parent |
|
|
Name |
Specifies the name of the domain |
|
|
|
Physical Name |
Specifies the physical name of the domain. Change the physical name of the domain in this field. |
|
|
|
Harden Strategy |
Specifies several parameters and practices aimed at enhancing security and reliability |
Inherit: Specifies to inherit the domain physical name Override: Specifies to override inheritance for the domain physical name Harden: Specifies to harden the domain physical name |
|
|
Column Name |
Specifies the name of the column |
|
|
|
Physical Only |
Specifies that the selected domain is only available in the physical model |
|
|
PostgreSQL |
Domain Properties |
Schema |
Specifies the schema of the database to which the domain belongs |
Select the schema from the drop-down list or click to create a new one. |
Collation |
Specifies an optional collation for the domain. If no collation is specified, the underlying data type's default collation is used. The underlying type must be collatable if COLLATE is specified. |
|
||
Null Option |
Specifies the usage of the NULL clause for the selected domain |
Null: Indicates that null values are allowed Not Null: Indicates that null values are not allowed |
||
Constraint |
Check Constraint |
Use Inherited Constraint |
Specifies whether the validation rule is inherited from the parent domain |
|
Name |
Specifies the name of the inherited validation rule to be attached to the selected domain |
|
||
Validation |
Specifies the validation rule to attach to the selected domain |
Available when Use Inherited Constraint is not selected. |
||
Default |
Use Inherited Default Value |
Specifies whether the property is inherited from the parent domain |
|
|
Name |
Specifies the name of the default value to be attached to the selected domain |
|
||
Default |
Specifies the default value to attach to the selected domain |
Available when Use Inherited Default Value is not selected. |
||
Comments |
|
Comments |
Allows you to enter or edit a non-inheritable comment for the selected domain |
You can also use the toolbar to cut, copy, paste, reset properties to restore inheritance and edit or check the spelling of text. |
|
Comment Inherited By Columns |
Allows you to enter or edit the definition that the column inherits when associated with the selected domain. If you do not want to override existing column comments, use the %AttDef macro. |
|
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The domain is defined, and the PostgreSQL Domain Editor closes.
Copyright © 2024 Quest Software, Inc. |