The pg_resourcetype system catalog table contains information about the extended attributes that can be assigned to Greenplum Database resource queues. Each row details an attribute and inherent qualities such as its default setting, whether it is required, and the value to deactivate it (when allowed).

    This table is populated only on the master. This table is defined in the pg_global tablespace, meaning it is globally shared across all databases in the system.

    columntypereferencesdescription
    restypidsmallint The resource type ID.
    resnamename The name of the resource type.
    resrequiredboolean Whether the resource type is required for a valid resource queue.
    reshasdefaultboolean Whether the resource type has a default value. When true, the default value is specified in reshasdefaultsetting.
    rescandisableboolean Whether the type can be removed or deactivated. When true, the default value is specified in resdisabledsetting.
    resdefaultsettingtext Default setting for the resource type, when applicable.
    resdisabledsettingtext The value that deactivates this resource type (when allowed).

    Parent topic: System Catalogs Definitions