doc/user/content/sql/alter-cluster-replica.md
Use ALTER CLUSTER REPLICA to:
{{< tabs >}} {{< tab "Rename" >}}
To rename a cluster replica:
{{% include-syntax file="examples/alter_cluster_replica" example="syntax-rename" %}}
{{< note >}} You cannot rename replicas in system clusters. {{< /note >}}
{{< /tab >}} {{< tab "Change owner" >}}
To change the owner of a cluster replica:
{{% include-syntax file="examples/alter_cluster_replica" example="syntax-change-owner" %}}
{{< /tab >}}
{{< /tabs >}}
The privileges required to execute this statement are:
{{% include-headless "/headless/sql-command-privileges/alter-cluster-replica" %}}
The following changes the owner of the cluster replica production.r1 to
admin. The user running the command must:
admin; andCREATE privilege on the production cluster.ALTER CLUSTER REPLICA production.r1 OWNER TO admin;