Defining PostgreSQL Tablespaces

The following properties are applicable to a PostgreSQL Tablespace object.

Tab

Section

Property

Description

Additional Information

 

 

Name Specifies the name of the table  
 

 

Generate Specifies whether a SQL statement for the table is generated during forward engineering  
General

 

General Options Session/Current User Specifies the session for user and role

Current_Role: Specifies the current role

Current_User: Specifies the user identifier used for permission checking. Usually, it equals the session user, but you can change it with SET ROLE.

Session_User: Specifies the user who initiated the current database connection; however, superusers can change this setting with SET SESSION AUTHORIZATION.

Owner Specifies the role or user that owns the tablespace Select the owner from the drop-down list or click New icon in property editors to create a new object to create a new one.

Location

Specifies the directory to use for the tablespace

The directory should be empty and owned by the PostgreSQL system user. Specify the directory in the absolute path name format.

Tablespace Option

Specifies tablespace parameters to be set or reset

 

  1. (Optional) Click the Comment tab and enter any comments you want to associate with the object.
  2. (Optional) Click the Where Used tab to view where the object is used within the model.
  3. (Optional) Click the UDP tab to work with user-defined properties for the object.
  4. (Optional) Click the Notes tab to view and edit user notes.
  5. (Optional) Click the Extended Notes tab to view or edit user notes.
  6. Click Close.

    The tablespace is defined, and the PostgreSQL Tablespace Editor closes.

For more information, refer to PostgreSQL documentation.