pg_resourcetype
The pg_resourcetype system catalog table contains information about the extended attributes that can be assigned to Greengage DB 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.
| Column | Type | Description |
|---|---|---|
resname |
name |
The name of the resource type |
restypid |
smallint |
The resource type ID |
resrequired |
boolean |
Whether the resource type is required for a valid resource queue |
reshasdefault |
boolean |
Whether the resource type has a default value.
When |
reshasdisable |
boolean |
Whether the type can be removed or deactivated.
When |
resdefaultsetting |
text |
Default setting for the resource type, when applicable |
resdisabledsetting |
text |
The value that deactivates this resource type (when allowed) |