Skip to main content
Detach all tablespaces from a . After issuing this command on a , it no longer has any tablespaces attached to it. New s are instead placed in the database’s default tablespace.

Samples

Detach all tablespaces from the conditions:
SELECT detach_tablespaces('conditions');

Arguments

NameTypeDefaultRequiredDescription
hypertableREGCLASS-Hypertable to detach a the tablespace from.