Define PostgreSQL User-Defined Type Attributes

In a model based on PostgreSQL target server, use the PostgreSQL tab on the PostgreSQL Attribute Editor to manage the attributes of the selected user-defined type.

To define PostgreSQL user-defined type attribute

  1. In the Model Explorer, right-click the user-defined type for which you need to define an attribute and click New.

    An instance of Attribute is created.

  2. Right-click the instance and click Properties.

    The PostgreSQL Attribute Editor opens.

  3. In the navigation grid, select the attribute that you want to define and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create an attribute. Use the Enter filter text box to filter a large list of attributes to quickly locate the one that you want to define.

  4. Click the PostgreSQL tab and work with the following options:
    Physical Data Type

    Displays the data type for the selected column.

    Collation

    Specifies a collation that is to be assigned to the attribute (which must be of a collatable data type). If not specified, the attribute's data type's default collation is used. Select an existing collation from the drop-down list or click New New icon in property editors to create a new object to create one.

  5. (Optional) Click the Commenttab and enter any comments that you want to associate with the object.
  6. (Optional) Click the Where Used tab to view where the object is used within the model.
  7. (Optional) Click the UDPtab to work with user-defined properties for the object.
  8. (Optional) Click the Notestab to view and edit user notes.
  9. (Optional) Click the Extended Notes tab to view or edit user notes.
  10. Click Close.

    The attribute is defined and the PostgreSQL Attribute Editor closes.

For more information, refer to PostgreSQL documentation.