Skip to content

CURRENT_CLUSTER()

Return the name of the cluster that is currently connected.

CURRENT_CLUSTER()

For example:

premdb=# select current_cluster();
  current_cluster   
---------------------
 bobr-rc5-cluster-01
(1 row)

Parent topic:System Functions