ALTER FILESPACE

    Description

    changes the definition of a filespace.

    You must own the filespace to use ALTER FILESPACE. To alter the owner, you must also be a direct or indirect member of the new owning role (note that superusers have these privileges automatically).

    name

    newname

    The new name of the filespace. The new name cannot begin with pg_ or gp_ (reserved for system filespaces).

    newowner

    Examples

    Rename filespace to fast_ssd:

    Change the owner of tablespace :

    There is no ALTER FILESPACE statement in the SQL standard or in PostgreSQL.

    See Also

    Parent topic: SQL Command Reference