Define PostgreSQL Schemas

Use the PostgreSQL Schema Editor to define a schema in PostgreSQL physical model.

To define a PostgreSQL schema

  1. In the Model Explorer, right-click Schemas and click New.

    An instance of Schema is created.

  2. Right-click the instance and click Properties.

    The PostgreSQL Schema Editor opens.

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

    Click New New icon in property editors to create a new object on the toolbar to create a schema. Use the Enter filter text box to filter a very large list of schemas to quickly locate the one that you want to define.

    Name

    Specifies the name of the schema. Set the name of the schema in this field.

    Generate

    Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.

  4. On the PostgreSQL tab, work with the following options:
    Owner

    Specifies the role name of the user who will own the new schema. If not set, by default, it is set to the user executing the command.

  5. (Optional) Click the Comment tab 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 schema is defined and the PostgreSQL Schema Editor closes.

For more information, refer to PostgreSQL documentation.