Samples
Detach the tablespacedisk1 from the conditions:
disk1 from all s that the current
user has permissions for:
Arguments
The syntax is:
When giving only the tablespace name as argument, the given tablespace
is detached from all s that the current role has the
appropriate permissions for. Therefore, without proper permissions,
the tablespace may still receive new s after this command
is issued.
When specifying a specific , the tablespace is only
detached from the given and thus may remain attached to
other s.
Returns
When called with both
tablespace and hypertable arguments, returns 1 if the tablespace was successfully detached from the specified . When called with only the tablespace argument, returns the total number of s from which the tablespace was detached.