Samples
Attach the tablespacedisk1 to the conditions:
Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
tablespace | TEXT | - | ✔ | Name of the tablespace to attach. |
hypertable | REGCLASS | - | ✔ | to attach the tablespace to. |
if_not_attached | BOOLEAN | false | ✖ | Set to true to avoid throwing an error if the tablespace is already attached to the table. A notice is issued instead. Defaults to false. |
TABLESPACE option to CREATE TABLE, prior to calling
create_hypertable, has the same effect as calling
attach_tablespace immediately following create_hypertable.